class HCL_FunctionalProductDomainGrad_d : public HCL_FunctionalGrad_d

HCL_FunctionalProductDomainGrad_d represents a functional with gradient whose domain is a product space

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
virtual void PartialGradient ( const HCL_Vector_d & x, HCL_Vector_d & g, int i )
PartialGradient computes the gradient with respect to the ith component of the independent variable, at x
virtual HCL_ProductVectorSpace_d& ProductDomain ()
Access to the domain, explicitly as a product vector space
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_FunctionalProductDomainGrad_d represents a functional with gradient whose domain is a product space. In other words, an input to the functional represented by this class is naturally regarded as a vector with several components, each component belonging to a vector space.
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_ProductVectorSpace_d& ProductDomain()
Access to the domain, explicitly as a product vector space

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 void PartialGradient( const HCL_Vector_d & x, HCL_Vector_d & g, int i )
PartialGradient computes the gradient with respect to the ith component of the independent variable, at x. It does so by creating an evaluation object with the EvaluateGrad method, getting the partial gradient from it, and deleting the evaluation object. PartialGradient is defined in this (the base) class, so it need not be redefined in a derived class.

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