HLIBpro  2.0
Public Member Functions | List of all members
TLDLInvMatrix Class Reference

Represents the inverse of a LDL factored matrix. More...

#include <TLUInvMatrix.hh>

Inheritance diagram for TLDLInvMatrix:
TFacInvMatrix TLinearOperator

Public Member Functions

 TLDLInvMatrix (const TMatrix *afac_matrix, const matform_t format, const eval_type_t aeval_type=CFG::Arith::eval_type, const bool external_memory=true)
 
 TLDLInvMatrix (const TScalarVector *D1, const TMatrix *afac_matrix, const TScalarVector *D2, const matform_t format, const eval_type_t aeval_type=CFG::Arith::eval_type, const bool external_memory=true)
 
virtual ~TLDLInvMatrix ()
 dtor
 
virtual void solve (TVector *x, const matop_t op) const
 
- Public Member Functions inherited from TFacInvMatrix
 TFacInvMatrix (const TMatrix *afac_matrix, const eval_type_t aeval_type=CFG::Arith::eval_type, const bool external_memory=true)
 
 TFacInvMatrix (const TScalarVector *D1, const TMatrix *afac_matrix, const TScalarVector *D2, const eval_type_t aeval_type=CFG::Arith::eval_type, const bool external_memory=true)
 
virtual ~TFacInvMatrix ()
 dtor
 
const TMatrixmatrix () const
 access factorised matrix
 
bool has_scaling () const
 return true if diagonal scaling is used
 
const TScalarVectorscaling_left () const
 return left scaling matrix
 
const TScalarVectorscaling_right () const
 return right scaling matrix
 
eval_type_t eval_type () const
 return evaluation type (pointwise/blockwise)
 
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 TVectordomain_vector () const
 return vector in domain space
 
virtual TVectorrange_vector () const
 return vector in range space
 

Detailed Description

Evaluates $ (LDL^H)^{-1} $ or $ (LDL^T)^{-1} $.

Constructor & Destructor Documentation

TLDLInvMatrix ( const TMatrix afac_matrix,
const matform_t  format,
const eval_type_t  aeval_type = CFG::Arith::eval_type,
const bool  external_memory = true 
)
inline

construct inverse operator with LDL factorised matrix afac_matrix which has format (symmetric, etc.) (no diagonal scaling applied)

TLDLInvMatrix ( const TScalarVector D1,
const TMatrix afac_matrix,
const TScalarVector D2,
const matform_t  format,
const eval_type_t  aeval_type = CFG::Arith::eval_type,
const bool  external_memory = true 
)
inline

construct inverse operator with LDL factorised matrix afac_matrix which has format (symmetric, etc.) and additional row and column scaling factors D1 and D2

Member Function Documentation

virtual void solve ( TVector x,
const matop_t  op 
) const
virtual

solve op(A) x = y with given y (supplied in x)

Implements TFacInvMatrix.