A templated 2D square matrix of objects of <T>, where the n x n matrix dimension is known and used for subscript bounds checking, etc. More...
#include <OpenFOAM/SquareMatrix.H>
A templated 2D square matrix of objects of <T>, where the n x n matrix dimension is known and used for subscript bounds checking, etc.
Definition at line 52 of file SquareMatrix.H.
Public Member Functions | |
SquareMatrix () | |
Null constructor.
| |
SquareMatrix (const label n) | |
Construct given number of rows/columns.
| |
SquareMatrix (const label m, const label n) | |
Construct given number of rows and columns,.
| |
SquareMatrix (const label m, const label n, const Type &) | |
Construct with given number of rows and rows.
| |
SquareMatrix (Istream &) | |
Construct from Istream.
| |
autoPtr< SquareMatrix< Type > > | clone () const |
Clone.
|
SquareMatrix | ( | ) | [inline]
|
Null constructor.
Definition at line 29 of file SquareMatrixI.H.
SquareMatrix | ( | const label | n ) | [inline]
|
Construct given number of rows/columns.
Definition at line 35 of file SquareMatrixI.H.
SquareMatrix | ( | const label | m, |
const label | n | ||
) | [inline]
|
Construct given number of rows and columns,.
It checks that m == n.
Definition at line 41 of file SquareMatrixI.H.
References Foam::exit(), Foam::FatalError, and FatalErrorIn.
SquareMatrix | ( | const label | m, |
const label | n, | ||
const Type & | t | ||
) | [inline]
|
Construct with given number of rows and rows.
and value for all elements. It checks that m == n.
Definition at line 56 of file SquareMatrixI.H.
References Foam::exit(), Foam::FatalError, and FatalErrorIn.
SquareMatrix | ( | Istream & | is ) | [inline]
|
Construct from Istream.
Definition at line 75 of file SquareMatrixI.H.
Foam::autoPtr< Foam::SquareMatrix< Type > > clone | ( | ) | const [inline]
|
Clone.
Reimplemented from Matrix< SquareMatrix< Type >, Type >.
Definition at line 82 of file SquareMatrixI.H.