class HCL_QuadFunctional_d : public HCL_Functional_d

HCL_QuadFunctional_d implements a quadratic functional defined as follows:

Inheritance:


Public Methods

HCL_QuadFunctional_d ( HCL_LinearOp_d * a, HCL_Vector_d * bb = NULL, double aalpha=0.0 )
Usual constructor; takes a pointer to the linear operator, a pointer to the constant vector, and the constant scalar
virtual HCL_VectorSpace_d& Domain () const
Domain space access.
HCL_EvaluateFunctional_d* Evaluate ( const HCL_Vector_d & x ) const
Evaluate returns an evaluation object that can compute the function value, gradient, and Hessian
virtual ostream& Write ( ostream & str ) const
Write prints out some useful information about the object.

Inherited from HCL_Functional_d:

Public Methods

virtual double MaxStep( const HCL_Vector_d & x, const HCL_Vector_d & dir) const
virtual double Value( const HCL_Vector_d & x ) const
virtual void Gradient( const HCL_Vector_d & x, HCL_Vector_d & g ) const
virtual HCL_LinearOp_d* Hessian( const HCL_Vector_d & x ) const
void Scan( const HCL_Vector_d & x, const HCL_Vector_d & dx, int N, double hmin, double hmax, char * fname = NULL )
int CheckGrad( const HCL_Vector_d & x, const HCL_Vector_d & y, ostream & str, int n=10, double hmin=0.1, double hmax=1.0 )
int CheckHess( const HCL_Vector_d &, const HCL_Vector_d &, ostream & str, int n=10, double hmin=0.1, double hmax=1.0 )

Protected Methods

virtual double Value1( const HCL_Vector_d & x ) const
virtual void Gradient1( const HCL_Vector_d & x, HCL_Vector_d & y ) const
virtual void HessianImage( const HCL_Vector_d & x, const HCL_Vector_d & dx, HCL_Vector_d & dy ) const
virtual void HessianInvImage( const HCL_Vector_d & x, const HCL_Vector_d & dy, HCL_Vector_d & dx ) const
virtual HCL_LinearOp_d* Hessian1( const HCL_Vector_d & x ) const

Inherited from HCL_Base:

Public Methods

void IncCount() const
void DecCount() const
int Count() const

Documentation

HCL_QuadFunctional_d implements a quadratic functional defined as follows: . The operator is assumed to be self-adjoint. The vector and the scalar are optional; if they are not provided to the constructor, they are assumed to be zero.
HCL_QuadFunctional_d( HCL_LinearOp_d * a, HCL_Vector_d * bb = NULL, double aalpha=0.0 )
Usual constructor; takes a pointer to the linear operator, a pointer to the constant vector, and the constant scalar

virtual HCL_VectorSpace_d& Domain() const
Domain space access.

HCL_EvaluateFunctional_d* Evaluate( const HCL_Vector_d & x ) const
Evaluate returns an evaluation object that can compute the function value, gradient, and Hessian

virtual ostream& Write( ostream & str ) const
Write prints out some useful information about the object.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de