Changeset 514 in Sophya for trunk/SophyaLib/NTools/tvector.h


Ignore:
Timestamp:
Oct 25, 1999, 6:43:04 PM (26 years ago)
Author:
ansari
Message:

elimination des OVector/OMatrix au profit des TVector/TMatrix cmv 25/10/99

File:
1 edited

Legend:

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

    r508 r514  
    4747
    4848// produit scalaire, matrice*vecteur
    49 template <class T> inline T operator* (const TVector<T>& v1, const TVector<T>& v2)
     49template <class T>
     50inline T operator* (const TVector<T>& v1, const TVector<T>& v2)
    5051  {if(v1.NRows() != v2.NRows())
    5152     throw(SzMismatchError("TVector::operator*(TVector& v1,TVector v2) size mismatch"));
     
    5556   return r;}
    5657
    57 template <class T> inline TVector<T> operator* (const TMatrix<T>& a, const TVector<T>& b)
    58                    {return TVector<T>(a * ((TMatrix<T> const&)(b)));}
     58template <class T>
     59inline TVector<T> operator* (const TMatrix<T>& a, const TVector<T>& b)
     60   {return TVector<T>(a * ((TMatrix<T> const&)(b)));}
    5961
    6062// Resolution du systeme A*C = B
Note: See TracChangeset for help on using the changeset viewer.