template<class Operator, class Vector, class Scalar>
SolverBase class
Abstract base class for linear algebra solvers.
Represents an object which can solve sysystems of the type:
where has type , the solution has type , and the right hand side has type .
Constructors, destructors, conversion operators
- ~SolverBase() defaulted virtual
- Default virtual destructor.
Public functions
- void solve(OperatorType& A, VectorType& x, VectorType& b) pure virtual
- Solves the linear algebra system.
Function documentation
template<class Operator, class Vector, class Scalar>
void Rodin:: Solver:: SolverBase<Operator, Vector, Scalar>:: solve(OperatorType& A,
VectorType& x,
VectorType& b) pure virtual
Solves the linear algebra system.
Parameters | |
---|---|
A in/out | Left hand side operator |
x in/out | Input for the initial guess, and output for the solution |
b in/out | Right hand side vector |
Solves the following system:
where has type , the solution has type , and the right hand side has type .