template<typename S, typename V, typename M>
struct DGtal::concepts::CLinearAlgebraSolver< S, V, M >
Aim: Describe a linear solver defined over a linear algebra. Problems are of the form:
Description of concept 'CLinearAlgebraSolver'
a * x = y
where a type is a model of CMatrix and x, y type is a model of CVector. Matrix and vector types should be a model of CLinearAlgebra.
- CLinearAlgebra<V, M>
Solver : A type that is a model of CLinearAlgebraSolver
Vector : A type that is a model of CVector
Matrix : A type that is a model of CMatrix
Info : The type returned by solver.status(), problem solved successfully if true when compared to 0
- y : object of type
Vector, input of the linear problem
- x : object of type
Vector, solution of the linear problem
- a : object of type
- info : object of type
Valid expressions and semantics
|Name ||Expression ||Type requirements ||Return type ||Precondition ||Semantics ||Post condition ||Complexity |
|Problem factorization / matrix input ||solver.compute(a) ||return *this. |
|Problem resolution / vector input ||x = solver.solve(y) |
|Status ||solver.status() |
- Template Parameters
Definition at line 103 of file CLinearAlgebraSolver.h.