38#ifndef Foam_simpleMatrix_H
39#define Foam_simpleMatrix_H
100 Field<Type>
solve()
const;
115 friend Ostream& operator<< <Type>
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label n() const noexcept
The number of columns.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple square matrix solver with scalar coefficients.
void operator=(const simpleMatrix< Type > &)
Copy assignment.
const Field< Type > & source() const noexcept
Return const-access to the source.
simpleMatrix(const label n)
Construct given size.
Field< Type > solve() const
Solve the matrix using Gaussian elimination with pivoting and return the solution.
simpleMatrix(const simpleMatrix< Type > &)=default
Copy construct.
Field< Type > LUsolve() const
Solve the matrix using LU decomposition with pivoting and return the solution.
Field< Type > & source() noexcept
Return access to the source.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
SquareMatrix< scalar > scalarSquareMatrix