HLIBpro  2.7
TNearfieldMulVec Class Reference

Implements matrix-vector multiplication with nearfield part of H-matrix.

#include <TNearfieldMulVec.hh>

Inheritance diagram for TNearfieldMulVec:
TLinearOperator TTypeInfo

Public Member Functions

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
 

Member Function Documentation

◆ apply()

virtual void apply ( const TVector x,
TVector y,
const matop_t  op = apply_normal 
) const
virtual

mapping function of linear operator A, e.g. y ≔ A(x). Depending on op, either A, A^T or A^H is applied.

Implements TLinearOperator.

◆ apply_add()

virtual void apply_add ( const real  alpha,
const TVector x,
TVector y,
const matop_t  op = apply_normal 
) const
virtual

mapping function with update: yy + α A( x ). Depending on op, either A, A^T or A^H is applied.

Implements TLinearOperator.