|
Public Member Functions |
| simpleMatrix (const label) |
| Construct given size.
|
| simpleMatrix (const Matrix< scalar > &, const Field< T > &) |
| Construct from components.
|
| simpleMatrix (Istream &) |
| Construct from Istream.
|
| simpleMatrix (const simpleMatrix< T > &) |
| Construct as copy.
|
Matrix< scalar > & | matrix () |
Field< T > & | source () |
const Matrix< scalar > & | matrix () const |
const Field< T > & | source () const |
Field< T > | solve () const |
| Solve the matrix using Gaussian elimination with pivoting.
|
Field< T > | LUsolve () const |
| Solve the matrix using LU decomposition with pivoting.
|
void | operator= (const simpleMatrix< T > &) |
Static Public Member Functions |
void | solve (Matrix< scalar > &matrix, Field< T > &source) |
| Solve the matrix using Gaussian elimination with pivoting.
|
void | LUDecompose (Matrix< scalar > &matrix, labelList &pivotIndices) |
| LU decompose the matrix with pivoting.
|
void | LUBacksubstitute (const Matrix< scalar > &luMmatrix, const labelList &pivotIndices, Field< T > &source) |
| LU back-substitution with given source, returning the solution.
|
void | LUsolve (Matrix< scalar > &matrix, Field< T > &source) |
| Solve the matrix using LU decomposition with pivoting.
|
Friends |
simpleMatrix< T > | operator+ (const simpleMatrix< T > &, const simpleMatrix< T > &) |
simpleMatrix< T > | operator- (const simpleMatrix< T > &, const simpleMatrix< T > &) |
simpleMatrix< T > | operator * (const scalar, const simpleMatrix< T > &) |
Ostream & | operator (Ostream &, const simpleMatrix< T > &) |