Changeset 501 in Sophya for trunk/SophyaLib/NTools/tmatrix.h


Ignore:
Timestamp:
Oct 23, 1999, 12:21:23 PM (26 years ago)
Author:
ansari
Message:

cvector.h ne servait a rien cmv 23/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/tmatrix.h

    r490 r501  
    175175                  {return a.Mul(b);}
    176176
     177////////////////////////////////////////////////////////////////
     178// Typedef pour simplifier
     179// typedef TMatrix<r_8> Matrix;
    177180
    178181/////////////////////////////////////////////////////////////////////////
     
    223226  static T* Org(const TMatrix<T>&, TRCKind rckind, uint_4 ind=0);
    224227
     228  TRCKind Kind() const { return kind; }
    225229  uint_4 NElts() const;
    226230  T& operator()(uint_4 i);
     
    269273
    270274
    271 template <class T> inline T operator * (const TMatrixRC<T>& a, const TMatrixRC<T>& b)
     275template <class T>
     276inline T operator * (const TMatrixRC<T>& a, const TMatrixRC<T>& b)
    272277  {
    273278  if ( a.NElts() != b.NElts() )
    274279    throw(SzMismatchError("TMatrixRC::operator * size mismatch\n"));
    275   if ( a.kind != b.kind )
     280  if ( a.Kind() != b.Kind() )
    276281    throw(SzMismatchError("TMatrixRC::operator * type mismatch\n"));
    277282  T sum = 0;
Note: See TracChangeset for help on using the changeset viewer.