HLIBpro
2.5.1
|
Base class for all linear operators mapping vectors to vectors. More...
#include <TLinearOperator.hh>
Public Member Functions | |
virtual bool | is_complex () const =0 |
return true, if field type is complex | |
virtual bool | is_self_adjoint () const =0 |
return true, of operator is self adjoint | |
virtual void | apply (const TVector *x, TVector *y, const matop_t op=apply_normal) const =0 |
virtual void | apply_add (const real alpha, const TVector *x, TVector *y, const matop_t op=apply_normal) const =0 |
virtual auto | domain_vector () const -> std::unique_ptr< TVector >=0 |
return vector in domain space | |
virtual auto | range_vector () const -> std::unique_ptr< TVector >=0 |
return vector in range space | |
Public Member Functions inherited from TTypeInfo | |
virtual typeid_t | type () const =0 |
return type ID of object | |
virtual bool | is_type (const typeid_t t) const |
return true if local object is of given type ID t | |
virtual std::string | typestr () const |
return string representation of type | |
Many standard arithmetic operations only depend upon a linear operator providing the mapping between vectors, e.g. iterativ solvers. Instead of requiring a full matrix and hence the need for an implementation of the full matrix algebra, an object of type TLinearOperator is fully sufficient in such cases.
|
pure virtual |
mapping function of linear operator , e.g. . Depending on op, either , or is applied.
Implemented in TMatrix, TGaussSeidel, TFacInvMatrix, TSOR, TJacobi, TPermMatrix, TMatrixSum< N >, TMatrixProduct< N >, and TNearfieldMulVec.
|
pure virtual |
mapping function with update: . Depending on op, either , or is applied.
Implemented in TMatrix, TGaussSeidel, TFacInvMatrix, TSOR, TJacobi, TPermMatrix, TMatrixSum< N >, TMatrixProduct< N >, and TNearfieldMulVec.