Changeset 3838 in Sophya for trunk/SophyaLib/TArray/spesqmtx.cc


Ignore:
Timestamp:
Aug 9, 2010, 7:31:12 PM (15 years ago)
Author:
ansari
Message:

MAJ commentaires pour doxygen, passage methode Next() en pure virtual (=0), Reza 09/08/2010

File:
1 edited

Legend:

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

    r3831 r3838  
    99#include "tmatrix.h"
    1010
    11 // doit etre mis en dehors du namespace
     11namespace SOPHYA {
    1212/*!
    13   \class SOPHYA::SpecialSquareMatrix
     13  \class SpecialSquareMatrix
    1414  \ingroup TArray
    1515  \brief The base class for representing and manipulating special square matrices
    1616  Diagonal matrix, Symmetric matrix, Triangular matrix
    17 
    1817  This class implements the common operations for special square matrices. Only objects
     18
    1919  from the sub-classes (DiagonalMatrix<T>, LowerTriangularMatrix<T>, SymmetricMatrix<T>)
    2020  can be instanciated. Theses classes offer similar functionalities to the TArray<T> / TMatrix<T>
    2121  classes, like reference sharing and arithmetic operations. However, no sub-matrix extraction
    2222  method is provided.
    23   sub matrix extraction method.
     23
     24  \code
     25  // Create and initialize a diagonal matrix
     26  DiagonalMatrix<double> diag(3);
     27  diag(0,0)=1.;  diag(1,1)=2.;  diag(2,2)=3.;
     28  // use of multiplication by a constant operator
     29  diag *= 10.;
     30  // check the diagonal matrix
     31  cout << diag << diag.ConvertToStdMatrix() << endl;
     32  // define and initialize a general matrix
     33  TMatrix<double> mx(3,3);
     34  mx=RegularSequence();
     35  cout << mx;
     36  // check the result of a matrix mutiplication
     37  cout << mx*diag;
     38  \endcode
    2439*/
    25 
    26 namespace SOPHYA {
    2740
    2841//! Default constructor - SpecialSquareMatrix of size 0, SetSize() should be called before the object is used
Note: See TracChangeset for help on using the changeset viewer.