Changeset 947 in Sophya for trunk/SophyaLib/TArray
- Timestamp:
- Apr 16, 2000, 4:29:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/sopemtx.h
r939 r947 22 22 Class for simple operation on TMatrix 23 23 \sa TMatrix TArray 24 24 */ 25 25 26 26 //! Class for simple operation on TMatrix … … 48 48 //------------------------------------------------------------ 49 49 50 //! Solve A*C = B for C in place and return determinant 51 /*! \ingroup TArray \fn LinSolveInPlace */ 50 /*! \ingroup TArray 51 \fn LinSolveInPlace 52 \brief Solve A*C = B for C in place and return determinant 53 */ 52 54 inline r_4 LinSolveInPlace(TMatrix<r_4>& a, TVector<r_4>& b) 53 55 { … … 57 59 } 58 60 59 //! Solve A*X = B in place and return determinant 60 /*! \ingroup TArray \fn LinSolveInPlace */ 61 /*! \ingroup TArray 62 \fn LinSolveInPlace 63 \brief Solve A*X = B in place and return determinant 64 */ 61 65 inline r_8 LinSolveInPlace(TMatrix<r_8>& a, TVector<r_8>& b) 62 66 { … … 66 70 } 67 71 68 //! Solve A*X = B in place and return determinant 69 /*! \ingroup TArray \fn LinSolveInPlace */ 72 /*! \ingroup TArray 73 \fn LinSolveInPlace 74 \brief Solve A*X = B in place and return determinant */ 70 75 inline complex<r_4> LinSolveInPlace(TMatrix< complex<r_4> >& a, TVector< complex<r_4> >& b) 71 76 { … … 75 80 } 76 81 77 //! Solve A*X = B in place and return determinant 78 /*! \ingroup TArray \fn LinSolveInPlace */ 82 /*! \ingroup TArray 83 \fn LinSolveInPlace 84 \brief Solve A*X = B in place and return determinant 85 */ 79 86 inline complex<r_8> LinSolveInPlace(TMatrix< complex<r_8> >& a, TVector< complex<r_8> >& b) 80 87 { … … 88 95 //------------------------------------------------------------ 89 96 90 //! Solve A*C = B and return C and determinant 91 /*! \ingroup TArray \fn LinSolve */ 97 /*! \ingroup TArray 98 \fn LinSolve 99 \brief Solve A*C = B and return C and determinant 100 */ 101 92 102 inline r_4 LinSolve(const TMatrix<r_4>& a, const TVector<r_4>& b, TVector<r_4>& c) { 93 103 if(a.NCols()!=b.NRows() || a.NCols()!=a.NRows()) … … 97 107 } 98 108 99 //! Solve A*C = B and return C and determinant 100 /*! \ingroup TArray \fn LinSolve */ 109 /*! \ingroup TArray 110 \fn LinSolve 111 \brief Solve A*C = B and return C and determinant 112 */ 101 113 inline r_8 LinSolve(const TMatrix<r_8>& a, const TVector<r_8>& b, TVector<r_8>& c) { 102 114 if(a.NCols()!=b.NRows() || a.NCols()!=a.NRows()) … … 106 118 } 107 119 108 //! Solve A*C = B and return C and determinant 109 /*! \ingroup TArray \fn LinSolve */ 120 /*! \ingroup TArray 121 \fn LinSolve 122 \brief Solve A*C = B and return C and determinant 123 */ 110 124 inline complex<r_4> LinSolve(const TMatrix< complex<r_4> >& a, const TVector< complex<r_4> >& b, TVector< complex<r_4> >& c) { 111 125 if(a.NCols()!=b.NRows() || a.NCols()!=a.NRows()) … … 115 129 } 116 130 117 //! Solve A*C = B and return C and determinant 118 /*! \ingroup TArray \fn LinSolve */ 131 /*! \ingroup TArray 132 \fn LinSolve 133 \brief Solve A*C = B and return C and determinant 134 */ 119 135 inline complex<r_8> LinSolve(const TMatrix< complex<r_8> >& a, const TVector< complex<r_8> >& b, TVector< complex<r_8> >& c) { 120 136 if(a.NCols()!=b.NRows() || a.NCols()!=a.NRows()) … … 136 152 namespace SOPHYA { 137 153 138 //! To inverse a TMatrix 139 /*! \ingroup TArray \fn Inverse */ 154 /*! \ingroup TArray 155 \fn Inverse 156 \brief To inverse a TMatrix 157 */ 140 158 inline TMatrix<r_4> Inverse(TMatrix<r_4> const & A) 141 159 {return SimpleMatrixOperation<r_4>::Inverse(A);} 142 //! To inverse a TMatrix 143 /*! \ingroup TArray \fn Inverse */ 160 /*! \ingroup TArray 161 \fn Inverse 162 \brief To inverse a TMatrix 163 */ 144 164 inline TMatrix<r_8> Inverse(TMatrix<r_8> const & A) 145 165 {return SimpleMatrixOperation<r_8>::Inverse(A);} 146 //! To inverse a TMatrix 147 /*! \ingroup TArray \fn Inverse */ 166 /*! \ingroup TArray 167 \fn Inverse 168 \brief To inverse a TMatrix (complex numbers) 169 */ 148 170 inline TMatrix< complex<r_4> > Inverse(TMatrix< complex<r_4> > const & A) 149 171 {return SimpleMatrixOperation< complex<r_4> >::Inverse(A);} 150 //! To inverse a TMatrix 151 /*! \ingroup TArray \fn Inverse */ 172 /*! \ingroup TArray 173 \fn Inverse 174 \brief To inverse a TMatrix (complex numbers) 175 */ 152 176 inline TMatrix< complex<r_8> > Inverse(TMatrix< complex<r_8> > const & A) 153 177 {return SimpleMatrixOperation< complex<r_8> >::Inverse(A);} … … 171 195 Class for linear fitting 172 196 \sa TMatrix TArray 173 197 */ 174 198 175 199 //! Class for linear fitting
Note:
See TracChangeset
for help on using the changeset viewer.