Changeset 958 in Sophya for trunk/SophyaLib/TArray/tmatrix.h
- Timestamp:
- Apr 18, 2000, 3:38:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/tmatrix.h
r956 r958 126 126 } 127 127 128 129 128 // Surcharge d'operateurs C = A (+,-) B 130 129 // $CHECK$ Reza 3/4/2000 Pas necessaire de redefinir les operateurs … … 132 131 // Doit-on le faire aussi pour les constantes ? - Fin de $CHECK$ Reza 3/4/2000 133 132 134 //! + : add matrixes \b a and \b b 133 /*! \ingroup TArray \fn operator+(const TMatrix<T>&,const TMatrix<T>&) 134 \brief + : add matrixes \b a and \b b */ 135 135 template <class T> 136 136 inline TMatrix<T> operator + (const TMatrix<T>& a,const TMatrix<T>& b) 137 137 {TMatrix<T> result(a); result.SetTemp(true); result.AddElt(b); return result;} 138 138 139 //! - : substract matrixes \b a and \b b 139 /*! \ingroup TArray \fn operator-(const TMatrix<T>&,const TMatrix<T>&) 140 \brief \- : substract matrixes \b a and \b b */ 140 141 template <class T> 141 142 inline TMatrix<T> operator - (const TMatrix<T>& a,const TMatrix<T>& b) … … 143 144 144 145 // Surcharge d'operateurs C = A * B 145 //! - : multiply matrixes \b a and \b b 146 /*! \ingroup TArray \fn operator*(const TMatrix<T>&,const TMatrix<T>&) 147 \brief * : multiply matrixes \b a and \b b */ 146 148 template <class T> inline TMatrix<T> operator * (const TMatrix<T>& a, const TMatrix<T>& b) 147 149 { TMatrix<T> result(a); result.SetTemp(true); return(result.Multiply(b)); }
Note:
See TracChangeset
for help on using the changeset viewer.