1.2.0
CCC
 
ALinearOp Class Referenceabstract

#include <ALinearOp.hpp>

Inheritance diagram for ALinearOp:
Cholesky HessianOp Identity ProdMatVect ShiftOpCs

Public Member Functions

 ALinearOp (const CGParam params=CGParam())
 
 ALinearOp (const ALinearOp &m)
 
ALinearOpoperator= (const ALinearOp &m)
 
virtual ~ALinearOp ()
 
virtual void evalInverse (const VectorDouble &inv, VectorDouble &outv) const
 
virtual int getSize () const =0
 
void evalDirect (const VectorDouble &inv, VectorDouble &outv) const
 
void setX0 (const VectorDouble &x0)
 
void mustShowStats (bool status)
 
const LogStatsgetLogStats () const
 

Constructor & Destructor Documentation

ALinearOp::ALinearOp ( const CGParam  params = CGParam())
ALinearOp::ALinearOp ( const ALinearOp m)
ALinearOp::~ALinearOp ( )
virtual

Member Function Documentation

void ALinearOp::evalDirect ( const VectorDouble inv,
VectorDouble outv 
) const

Evaluate the product: 'outv' = Q * 'inv'

Parameters
[in]invArray of input values
[out]outvArray of output values
void ALinearOp::evalInverse ( const VectorDouble inv,
VectorDouble outv 
) const
virtual

Evaluate the product: 'outv' = Q^{-1} * 'inv' by Conjugate Gradient

Parameters
[in]invArray of input values
[out]outvArray of output values

Reimplemented in Cholesky, and Identity.

const LogStats& ALinearOp::getLogStats ( ) const
inline
virtual int ALinearOp::getSize ( ) const
pure virtual

Implemented in ShiftOpCs, Cholesky, HessianOp, Identity, and ProdMatVect.

void ALinearOp::mustShowStats ( bool  status)
inline
ALinearOp & ALinearOp::operator= ( const ALinearOp m)
void ALinearOp::setX0 ( const VectorDouble x0)
inline

The documentation for this class was generated from the following files: