Differentiator::GradientFunction Class Reference

#include <Differentiator.h>

Inheritance diagram for Differentiator::GradientFunction:

Differentiator::Function MyObjectiveFunc MyObjectiveFunc

List of all members.


Detailed Description

Derive a concrete class from this one if you have a scalar function of multiple variables that you want to differentiate.

This is the typical form for an optimization objective function, for example.

Public Types

typedef int(* FuncWrapper )(const GradientFunction &, const Vector &, Real &)

Public Member Functions

virtual int f (const Vector &y, Real &fy) const =0

Protected Member Functions

 GradientFunction (int ny=-1, Real acc=-1)
virtual ~GradientFunction ()


Member Typedef Documentation

typedef int(* FuncWrapper)(const GradientFunction &, const Vector &, Real &)


Constructor & Destructor Documentation

GradientFunction ( int  ny = -1,
Real  acc = -1 
) [inline, explicit, protected]

virtual ~GradientFunction (  )  [inline, protected, virtual]


Member Function Documentation

virtual int f ( const Vector y,
Real &  fy 
) const [pure virtual]


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

Generated on Fri Sep 26 07:44:31 2008 for SimTKcore by  doxygen 1.5.6