class HCL_RestrictedFunctionalGrad_d : public HCL_FunctionalGrad_d

HCL_RestrictedFunctionalGrad_d is a concrete class which creates a functional with gradient from a functional defined on a product space, by fixing all but one of the components of the independent variable

Inheritance:


Public Methods

virtual HCL_VectorSpace_d& Domain ()
Domain space access
virtual HCL_EvaluateFunctionalGrad_d* EvaluateGrad ( const HCL_Vector_d & x )
EvaluateGrad creates an "evaluation" object, which knows how to compute the function value and gradient at the given x
HCL_RestrictedFunctionalGrad_d ( HCL_FunctionalProductDomainGrad_d * ff, HCL_ProductVector_d * x, int i )
Usual constructor; just needs the underlying functional (defined on a product space) and the index of the free component of the independent variable
HCL_RestrictedFunctionalGrad_d ( HCL_FunctionalProductDomainGrad_d * ff, const HCL_ProductVector_d & x, int i )
Usual constructor; just needs the underlying functional (defined on a product space) and the index of the free component of the independent variable
virtual ostream& Write ( ostream & str )
Debugging information

Inherited from HCL_FunctionalGrad_d:

Public Methods

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 )
virtual void Gradient( const HCL_Vector_d & x, HCL_Vector_d & g )
virtual double Value( const HCL_Vector_d & x )

Inherited from HCL_Functional_d:

Public Methods

virtual double MaxStep( const HCL_Vector_d & x, const HCL_Vector_d &dir)
void Scan( const HCL_Vector_d & x, const HCL_Vector_d & dx, int N, double hmin, double hmax, char * fname = NULL )

Inherited from HCL_Base:

Public Methods

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

Private Fields

int ReferenceCount

Documentation

HCL_RestrictedFunctionalGrad_d is a concrete class which creates a functional with gradient from a functional defined on a product space, by fixing all but one of the components of the independent variable
HCL_RestrictedFunctionalGrad_d( HCL_FunctionalProductDomainGrad_d * ff, const HCL_ProductVector_d & x, int i )
Usual constructor; just needs the underlying functional (defined on a product space) and the index of the free component of the independent variable. (Creates a copy of the vector.)

HCL_RestrictedFunctionalGrad_d( HCL_FunctionalProductDomainGrad_d * ff, HCL_ProductVector_d * x, int i )
Usual constructor; just needs the underlying functional (defined on a product space) and the index of the free component of the independent variable. (Copies the pointer to the vector.)

virtual HCL_VectorSpace_d& Domain()
Domain space access. Returns a reference to the HCL_VectorSpace_d which forms the domain of the functional.

virtual HCL_EvaluateFunctionalGrad_d* EvaluateGrad( const HCL_Vector_d & x )
EvaluateGrad creates an "evaluation" object, which knows how to compute the function value and gradient at the given x

virtual ostream& Write( ostream & str )
Debugging information


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