Iterative solver for solving linear systems using the truncated conjugate gradient method. More...
#include <ikarus/linearalgebra/truncatedconjugategradient.hh>
Public Types | |
enum | { UpLo = UpLo_ } |
typedef IterativeSolverBase< TruncatedConjugateGradient > | Base |
typedef MatrixType_ | MatrixType |
typedef MatrixType::Scalar | Scalar |
typedef MatrixType::RealScalar | RealScalar |
typedef Preconditioner_ | Preconditioner |
Public Member Functions | |
TruncatedConjugateGradient (TruncatedConjugateGradient &&other) noexcept | |
TCGInfo< typename MatrixType::RealScalar > | getInfo () |
Get information about the truncated conjugate gradient algorithm. More... | |
void | setInfo (TCGInfo< typename MatrixType::RealScalar > _alginfo) |
Set information about the truncated conjugate gradient algorithm. More... | |
TruncatedConjugateGradient () | |
template<typename MatrixDerived > | |
TruncatedConjugateGradient (const EigenBase< MatrixDerived > &A) | |
~TruncatedConjugateGradient () | |
template<typename Rhs , typename Dest > | |
void | _solve_vector_with_guess_impl (const Rhs &b, Dest &x) const |
MatrixType_ | Type of the matrix A. |
UpLo_ | Type of the triangular part of the matrix (Lower or Upper or both). |
Preconditioner_ | Type of the preconditioner. |
typedef IterativeSolverBase<TruncatedConjugateGradient> Eigen::TruncatedConjugateGradient< MatrixType_, UpLo_, Preconditioner_ >::Base |
typedef MatrixType_ Eigen::TruncatedConjugateGradient< MatrixType_, UpLo_, Preconditioner_ >::MatrixType |
typedef Preconditioner_ Eigen::TruncatedConjugateGradient< MatrixType_, UpLo_, Preconditioner_ >::Preconditioner |
typedef MatrixType::RealScalar Eigen::TruncatedConjugateGradient< MatrixType_, UpLo_, Preconditioner_ >::RealScalar |
typedef MatrixType::Scalar Eigen::TruncatedConjugateGradient< MatrixType_, UpLo_, Preconditioner_ >::Scalar |
|
inlinenoexcept |
|
inline |
Default constructor.
|
inlineexplicit |
Initialize the solver with matrix A for further Ax=b
solving.
This constructor is a shortcut for the default constructor followed by a call to compute().
|
inline |
|
inline |
|
inline |
|
inline |
_alginfo | Information about the algorithm. |