Changeset 2975 in Sophya for trunk/SophyaPI/PIext/nomtmatvecadapter.cc
- Timestamp:
- Jun 20, 2006, 6:04:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomtmatvecadapter.cc
r2933 r2975 90 90 /* --Methode-- */ 91 91 template <class T> 92 void NOMAdapter_TMatrix<T>::Print(ostream& os )93 { 94 TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx);95 if (v != NULL) os << (*v);96 else os << (*mMtx);92 void NOMAdapter_TMatrix<T>::Print(ostream& os, int lev) 93 { 94 if (lev < 3) mMtx->Show(os, false); 95 else mMtx->Show(os, true); 96 if (lev > 0) mMtx->Print(os, 10*lev); 97 97 } 98 98
Note:
See TracChangeset
for help on using the changeset viewer.