|
|
|
simpleMatrix Class Template ReferenceInheritance diagram for simpleMatrix:![]() ![]() Detailed Descriptiontemplate<class T>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| simpleMatrix (const label) | |
| Construct given size. | |
| simpleMatrix (const scalarMatrix &, const Field< T > &) | |
| Construct from components. | |
| simpleMatrix (Istream &) | |
| Construct from Istream. | |
| simpleMatrix (const simpleMatrix< T > &) | |
| Construct as copy. | |
| Field< T > & | source () |
| 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 > &) |
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 > &) |
| simpleMatrix | ( | const | label | ) |
Construct given size.
| simpleMatrix | ( | const scalarMatrix & | , | |
| const Field< T > & | ||||
| ) |
Construct from components.
| simpleMatrix | ( | Istream & | ) |
Construct from Istream.
| simpleMatrix | ( | const simpleMatrix< T > & | ) |
Construct as copy.
| Field<T>& source | ( | ) | [inline] |
Definition at line 121 of file simpleMatrix.H.
| const Field<T>& source | ( | ) | const [inline] |
Definition at line 126 of file simpleMatrix.H.
| Field<T> solve | ( | ) | const |
Solve the matrix using Gaussian elimination with pivoting.
and return the solution
| Field<T> LUsolve | ( | ) | const |
Solve the matrix using LU decomposition with pivoting.
and return the solution
| void operator= | ( | const simpleMatrix< T > & | ) |
| simpleMatrix<T> operator+ | ( | const simpleMatrix< T > & | , | |
| const simpleMatrix< T > & | ||||
| ) | [friend] |
| simpleMatrix<T> operator- | ( | const simpleMatrix< T > & | , | |
| const simpleMatrix< T > & | ||||
| ) | [friend] |
| simpleMatrix<T> operator * | ( | const | scalar, | |
| const simpleMatrix< T > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const simpleMatrix< T > & | ||||
| ) | [friend] |