Changeset 810 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Apr 3, 2000, 7:46:32 PM (25 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomskymapadapter.cc
r594 r810 173 173 int_4 nl = mtx.NRows(); 174 174 int_4 nc = mtx.NCols(); 175 mtx. Reset(defval); // On met tout a defval175 mtx.DataBlock().Reset(defval); // On met tout a defval 176 176 // cout << " NRows= " << nl << " NCols= " << nc << endl; 177 177 for(l=0; l<nl; l++) { -
trunk/SophyaPI/PIext/nomtmatvecadapter.cc
r719 r810 11 11 #include "pitvmaad.h" 12 12 13 #include "fioarr.h" 13 14 14 15 … … 59 60 TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx); 60 61 if (v != NULL) { 61 FIO_T Vector<T> fio(v);62 FIO_TArray<T> fio(v); 62 63 fio.Write(pos, nom); 63 64 } 64 65 else { 65 FIO_T Matrix<T> fio(mMtx);66 FIO_TArray<T> fio(mMtx); 66 67 fio.Write(pos, nom); 67 68 } -
trunk/SophyaPI/PIext/pawexecut.cc
r685 r810 145 145 else if(typeid(*mobj)==typeid(Matrix)) {Matrix* ob=(Matrix*) mobj; ob->Zero();} 146 146 #else 147 if(typeid(*mobj)==typeid(Vector)) {Vector* ob=(Vector*) mobj; ob-> Reset(0.);}148 else if(typeid(*mobj)==typeid(Matrix)) {Matrix* ob=(Matrix*) mobj; ob-> Reset(0.);}147 if(typeid(*mobj)==typeid(Vector)) {Vector* ob=(Vector*) mobj; ob->DataBlock().Reset(0.);} 148 else if(typeid(*mobj)==typeid(Matrix)) {Matrix* ob=(Matrix*) mobj; ob->DataBlock().Reset(0.);} 149 149 #endif 150 150 else if(typeid(*mobj)==typeid(Histo)) {Histo* ob=(Histo*) mobj; ob->Zero();}
Note:
See TracChangeset
for help on using the changeset viewer.