DGtal
1.5.beta
|
Aim: Describe a linear solver defined over a linear algebra. Problems are of the form: More...
#include <DGtal/math/linalg/CLinearAlgebraSolver.h>
Public Types | |
typedef S | Solver |
typedef V | Vector |
typedef M | Matrix |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CLinearAlgebra< Vector, Matrix >)) | |
BOOST_CONCEPT_USAGE (CLinearAlgebraSolver) | |
Private Attributes | |
int | status_return |
const Solver | const_solver |
Solver | solver |
const Matrix | a |
const Vector | y |
V | x |
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.
Solver
: A type that is a model of CLinearAlgebraSolverVector
: A type that is a model of CVectorMatrix
: A type that is a model of CMatrixInfo
: The type returned by solver.status(), problem solved successfully if true when compared to 0Vector
, input of the linear problemVector
, solution of the linear problemMatrix
Info
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) | Vector | |||||
Status | solver.status() |
S | the type that should be a model of CLinearAlgebraSolver. |
V | the type that should be a model of CVector |
M | the type that should be a model of CMatrix |
Definition at line 103 of file CLinearAlgebraSolver.h.
typedef M DGtal::concepts::CLinearAlgebraSolver< S, V, M >::Matrix |
Definition at line 109 of file CLinearAlgebraSolver.h.
typedef S DGtal::concepts::CLinearAlgebraSolver< S, V, M >::Solver |
Definition at line 107 of file CLinearAlgebraSolver.h.
typedef V DGtal::concepts::CLinearAlgebraSolver< S, V, M >::Vector |
Definition at line 108 of file CLinearAlgebraSolver.h.
DGtal::concepts::CLinearAlgebraSolver< S, V, M >::BOOST_CONCEPT_ASSERT | ( | (CLinearAlgebra< Vector, Matrix >) | ) |
|
inline |
Definition at line 113 of file CLinearAlgebraSolver.h.
References DGtal::concepts::CLinearAlgebraSolver< S, V, M >::const_solver, DGtal::concepts::CLinearAlgebraSolver< S, V, M >::solver, and DGtal::concepts::CLinearAlgebraSolver< S, V, M >::status_return.
|
private |
Definition at line 124 of file CLinearAlgebraSolver.h.
|
private |
Definition at line 122 of file CLinearAlgebraSolver.h.
Referenced by DGtal::concepts::CLinearAlgebraSolver< S, V, M >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 123 of file CLinearAlgebraSolver.h.
Referenced by DGtal::concepts::CLinearAlgebraSolver< S, V, M >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 121 of file CLinearAlgebraSolver.h.
Referenced by DGtal::concepts::CLinearAlgebraSolver< S, V, M >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 126 of file CLinearAlgebraSolver.h.
|
private |
Definition at line 125 of file CLinearAlgebraSolver.h.