HLIBpro
2.5.1
|
Represents sum A₁+A₂+A₃... of matrices (linear ops)
#include <TMatrixSum.hh>
Public Member Functions | |
TMatrixSum (const scalar_t alpha1, const matop_t op1, const TLinearOperator *A1, const scalar_t alpha2, const matop_t op2, const TLinearOperator *A2, const bool is_owner=false) | |
two matrices | |
TMatrixSum (const scalar_t alpha1, const matop_t op1, const TLinearOperator *A1, const scalar_t alpha2, const matop_t op2, const TLinearOperator *A2, const scalar_t alpha3, const matop_t op3, const TLinearOperator *A3, const bool is_owner=false) | |
three matrices | |
virtual bool | is_complex () const |
return true, if field type is complex | |
virtual bool | is_self_adjoint () const |
return true, of operator is self adjoint | |
virtual void | apply (const TVector *x, TVector *y, const matop_t op=apply_normal) const |
virtual void | apply_add (const real alpha, const TVector *x, TVector *y, const matop_t op=apply_normal) const |
virtual auto | domain_vector () const -> std::unique_ptr< TVector > |
return vector in domain space | |
virtual auto | range_vector () const -> std::unique_ptr< TVector > |
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 | |
|
virtual |
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.