|
|
|
SquareMatrix< Type > Class Template ReferenceA 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...
Inheritance diagram for SquareMatrix< Type >:
![]()
Collaboration diagram for SquareMatrix< Type >:
![]()
Detailed Descriptiontemplate<class Type>
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.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SquareMatrix | ( | ) | [inline] |
| SquareMatrix | ( | const label | n | ) | [inline] |
| SquareMatrix | ( | const label | m, | |
| const label | n | |||
| ) | [inline] |
Construct given number of rows and columns,.
It checks that m == n.
Definition at line 33 of file SquareMatrixI.H.
| 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 48 of file SquareMatrixI.H.
| SquareMatrix | ( | Istream & | is | ) | [inline] |
| Foam::autoPtr< Foam::SquareMatrix< Type > > clone | ( | ) | const [inline] |
Clone.
Reimplemented from Matrix< SquareMatrix< Type >, Type >.
Definition at line 74 of file SquareMatrixI.H.