Changeset 1003 in Sophya for trunk/SophyaLib/TArray
- Timestamp:
- May 16, 2000, 7:17:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/tmatrix.h
r976 r1003 15 15 // Creation / destruction 16 16 TMatrix(); 17 TMatrix(uint_4 r,uint_4 c, short mm= AutoMemoryMapping);17 TMatrix(uint_4 r,uint_4 c, short mm=BaseArray::AutoMemoryMapping); 18 18 TMatrix(const TMatrix<T>& a); 19 19 TMatrix(const TMatrix<T>& a, bool share); 20 20 TMatrix(const TArray<T>& a); 21 TMatrix(const TArray<T>& a, bool share, short mm=AutoMemoryMapping); 21 TMatrix(const TArray<T>& a, bool share, short mm=BaseArray::CMemoryMapping); 22 22 23 virtual ~TMatrix(); 23 24 … … 38 39 inline uint_4 NCol() const {return Size(macoli_); } // back-compat Peida 39 40 40 void ReSize(uint_4 r,uint_4 c, short mm= SameMemoryMapping); // Reallocation de place41 void Realloc(uint_4 r,uint_4 c, short mm= SameMemoryMapping, bool force=false);41 void ReSize(uint_4 r,uint_4 c, short mm=BaseArray::SameMemoryMapping); // Reallocation de place 42 void Realloc(uint_4 r,uint_4 c, short mm=BaseArray::SameMemoryMapping, bool force=false); 42 43 43 44 // Sub-matrix extraction $CHECK$ Reza 03/2000 Doit-on declarer ces methode const ? … … 91 92 //! -= : substract a matrix 92 93 inline TMatrix<T>& operator -= (const TMatrix<T>& a) { SubElt(a); return(*this); } 93 TMatrix<T> Multiply(const TMatrix<T>& b, short mm=SameMemoryMapping) const; 94 //! *= : matrix product : C = (*this)*B 94 95 // Produit matriciel Multiply : C = (*this)*B 96 TMatrix<T> Multiply(const TMatrix<T>& b, short mm=BaseArray::SameMemoryMapping) const; 95 97 inline TMatrix<T>& operator *= (const TMatrix<T>& b) 96 98 { this->Set(Multiply(b)); return(*this); }
Note:
See TracChangeset
for help on using the changeset viewer.