Changeset 502 in Sophya for trunk/SophyaLib/NTools
- Timestamp:
- Oct 23, 1999, 8:52:44 PM (26 years ago)
- Location:
- trunk/SophyaLib/NTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/tmatrix.h
r501 r502 42 42 inline void ReSize(uint_4 r,uint_4 c) // Reallocation de place 43 43 {if(r==0||c==0) throw(SzMismatchError("TMatrix::ReSize r ou c==0\n")); 44 mNr = r; mNc = c; mNDBlock.ReSize(r*c);} 44 mNDBlock.ReSize(r*c); mNr = r; mNc = c;} 45 inline void Realloc(uint_4 r,uint_4 c,bool force=false) 46 {if(r==0||c==0) throw(SzMismatchError("TMatrix::Realloc r ou c==0\n")); 47 mNDBlock.Realloc(r*c,force); mNr = r; mNc = c;} 45 48 46 49 // Informations pointeur/data -
trunk/SophyaLib/NTools/tvector.h
r501 r502 23 23 // Gestion taille/Remplissage 24 24 inline void ReSize(uint_4 n) {TMatrix<T>::ReSize(n,1);} // Reallocation de place 25 inline void Realloc(uint_4 n,bool force=false) {TMatrix<T>::Realloc(n,1,force);} 25 26 26 27 // Informations pointeur/data
Note:
See TracChangeset
for help on using the changeset viewer.