ScalarFunction Class Reference

Derive a concrete class from this one if you have a scalar function of a single scalar variable that you want to differentiate. More...

#include <Differentiator.h>

Inheritance diagram for ScalarFunction:
Function

List of all members.

Public Member Functions

virtual int f (Real x, Real &fx) const =0

Protected Member Functions

 ScalarFunction (Real acc=-1)
virtual ~ScalarFunction ()

Detailed Description

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


Constructor & Destructor Documentation

ScalarFunction ( Real  acc = -1  )  [explicit, protected]
virtual ~ScalarFunction (  )  [inline, protected, virtual]

Member Function Documentation

virtual int f ( Real  x,
Real &  fx 
) const [pure virtual]

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

Generated on Thu Aug 12 16:38:02 2010 for SimTKcore by  doxygen 1.6.1