Go to the documentation of this file.
35 #ifndef simpleMatrix_H
36 #define simpleMatrix_H
126 friend Ostream& operator<< <Type>
137 simpleMatrix<Type>
operator+
139 const simpleMatrix<Type>&,
140 const simpleMatrix<Type>&
144 simpleMatrix<Type>
operator-
146 const simpleMatrix<Type>&,
147 const simpleMatrix<Type>&
151 simpleMatrix<Type>
operator*
154 const simpleMatrix<Type>&
void operator=(const simpleMatrix< Type > &)
A simple square matrix solver with scalar coefficients.
Field< Type > LUsolve() const
Solve the matrix using LU decomposition with pivoting.
Field< Type > & source()
Return access to the source.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
simpleMatrix(const label)
Construct given size.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field< Type > solve() const
Solve the matrix using Gaussian elimination with pivoting.
const Field< Type > & source() const
Return const-access to the source.