|
|
|
Matrix< Form, Type > Class Template ReferenceA templated 2D matrix of objects of <T>, where the n x m matrix dimensions are known and used for subscript bounds checking, etc. More...
Inheritance diagram for Matrix< Form, Type >:
![]()
Collaboration diagram for Matrix< Form, Type >:
![]()
Detailed Descriptiontemplate<class Form, class Type>
A templated 2D matrix of objects of <T>, where the n x m matrix dimensions are known and used for subscript bounds checking, etc.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const Foam::Matrix< Form, Type > & null | ( | ) | [inline, static] |
| Foam::autoPtr< Foam::Matrix< Form, Type > > clone | ( | ) | const [inline] |
Clone.
Reimplemented in RectangularMatrix< Type >, SquareMatrix< Type >, RectangularMatrix< scalar >, and SquareMatrix< scalar >.
| Foam::label n | ( | ) | const [inline] |
Return the number of rows.
Definition at line 47 of file MatrixI.H.
Referenced by Foam::LUDecompose(), Foam::solve(), and SVD::SVD().

| Foam::label m | ( | ) | const [inline] |
Return the number of columns.
Definition at line 54 of file MatrixI.H.
Referenced by SVD::SVD().

| Foam::label size | ( | ) | const [inline] |
| void checki | ( | const label | i | ) | const [inline] |
Check index i is within valid range (0 ... n-1).
Definition at line 68 of file MatrixI.H.
Referenced by Matrix< Form, Type >::operator[]().

| void checkj | ( | const label | j | ) | const [inline] |
Check index j is within valid range (0 ... m-1).
Definition at line 86 of file MatrixI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.

| void clear | ( | ) | [inline] |
| Form T | ( | ) | const [inline] |
Return the transpose of the matrix.
Definition at line 156 of file Matrix.C.
Referenced by SVD::SVD().

Return subscript-checked element of constant Matrix.
Definition at line 116 of file MatrixI.H.
References Matrix< Form, Type >::checki().

| void operator= | ( | const Type & | t | ) | [inline] |