Changeset 501 in Sophya for trunk/SophyaLib/NTools/tmatrix.h
- Timestamp:
- Oct 23, 1999, 12:21:23 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/tmatrix.h
r490 r501 175 175 {return a.Mul(b);} 176 176 177 //////////////////////////////////////////////////////////////// 178 // Typedef pour simplifier 179 // typedef TMatrix<r_8> Matrix; 177 180 178 181 ///////////////////////////////////////////////////////////////////////// … … 223 226 static T* Org(const TMatrix<T>&, TRCKind rckind, uint_4 ind=0); 224 227 228 TRCKind Kind() const { return kind; } 225 229 uint_4 NElts() const; 226 230 T& operator()(uint_4 i); … … 269 273 270 274 271 template <class T> inline T operator * (const TMatrixRC<T>& a, const TMatrixRC<T>& b) 275 template <class T> 276 inline T operator * (const TMatrixRC<T>& a, const TMatrixRC<T>& b) 272 277 { 273 278 if ( a.NElts() != b.NElts() ) 274 279 throw(SzMismatchError("TMatrixRC::operator * size mismatch\n")); 275 if ( a. kind != b.kind)280 if ( a.Kind() != b.Kind() ) 276 281 throw(SzMismatchError("TMatrixRC::operator * type mismatch\n")); 277 282 T sum = 0;
Note:
See TracChangeset
for help on using the changeset viewer.