Changeset 935 in Sophya for trunk/SophyaLib/TArray/sopemtx.cc


Ignore:
Timestamp:
Apr 14, 2000, 4:03:40 PM (25 years ago)
Author:
ansari
Message:

doc + inversion de matrice template real+complex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/sopemtx.cc

    r926 r935  
    110110
    111111
    112 //! Multiply two TMatrixRC
     112//! Scalar product of two TMatrixRC
     113/*!
     114  \return sum[ a(i) * b(i) ]
     115 */
    113116template <class T>
    114117inline T operator * (const TMatrixRC<T>& a, const TMatrixRC<T>& b)
     
    123126  }
    124127
    125 //! Get the step in datas for a TMatrix for type rckind (line/col/diag)
     128//! Get the step in datas for a TMatrix for type rckind
     129/*!
     130  \param rckind : line, column or diagonal
     131  \return step in TMatrix along TMatrixRC
     132 */
    126133template <class T>
    127134inline uint_4 TMatrixRC<T>::Step(const TMatrix<T>& m, TRCKind rckind)
     
    131138    return 0; }
    132139
    133 /*! Get the origin of datas for a TMatrix for type rckind and
    134   number index (line/col/diag). ex: origine for line "index". */
     140//! Get the origin of datas.
     141/*!
     142  Get the origin of datas in the TMatrix for a TMatrixRC for type
     143  \b rckind and index \b index .
     144  \param rckind : line, column or diagonal
     145  \param index : index of the line or column.
     146  \return adress of the first element in datas.
     147 */
    135148template <class T>
    136149inline T* TMatrixRC<T>::Org(const TMatrix<T>& m, TRCKind rckind, uint_4 index)
     
    156169
    157170////////////////////////////////////////////////////////////////
    158 //! Typedef to simplifier TMatrixRC<r_8>
     171//! Typedef to simplify TMatrixRC<r_8> writing
    159172typedef TMatrixRC<r_8> MatrixRC;
    160173
     
    428441//! Gaussian pivoting
    429442/*!
    430   Diagonalize matrix \b a, doing the same opreations on matrix \b b
    431   \return determinat of \b a
     443  Diagonalize matrix \b a, doing the same operations on matrix \b b
     444  \return determinat of \b a.
     445
     446  If \b b is identity matrix, return inverse of \b a
    432447 */ 
    433448template <class T>
     
    712727template class SimpleMatrixOperation< complex<r_8> >;
    713728#endif
     729
     730
     731
     732
     733
     734
     735
     736
     737
     738
     739
     740
     741
Note: See TracChangeset for help on using the changeset viewer.