HLIBpro
2.0
|
implements Jacobi preconditioner More...
#include <TJacobi.hh>
Public Member Functions | |
TJacobi (TMatrix *A, const real damping=1.0) | |
const TMatrix * | matrix () const |
return sparse matrix | |
real | damping_factor () const |
return damping factor | |
bool | is_complex () const |
return true, if field type is complex | |
bool | is_self_adjoint () const |
return true, of operator is self adjoint | |
virtual void | apply (const TVector *x, TVector *y, const matop_t op) const |
virtual void | apply_add (const real alpha, const TVector *x, TVector *y, const matop_t op) const |
virtual TVector * | domain_vector () const |
return vector in domain space | |
virtual TVector * | range_vector () const |
return vector in range space | |
TJacobi provides application of a Jacobi type preconditioner for a given matrix A, e.g. with being the diagonal of A. Here, A may be of any type, e.g. dense, low-rank, block or sparse matrix. The diagonal elements are assumed to be non-zero.
construct Jacobi preconditioner based on sparse matrix A with damping factor damping
mapping function of linear operator , e.g. . Depending on op, either , or is applied.
Implements TLinearOperator.
|
virtual |
mapping function with update: . Depending on op, either , or is applied.
Implements TLinearOperator.