Differentiator::ScalarFunction Class Reference

#include <Differentiator.h>

Inheritance diagram for Differentiator::ScalarFunction:

Differentiator::Function Cubic GenericScalarFunc GenericScalarFunc SinOmegaX SinOmegaX

List of all members.


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.

Public Types

typedef int(* FuncWrapper )(const ScalarFunction &, Real, Real &)

Public Member Functions

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

Protected Member Functions

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

Member Typedef Documentation

typedef int(* FuncWrapper)(const ScalarFunction &, Real, Real &)


Constructor & Destructor Documentation

ScalarFunction ( Real  acc = -1  )  [inline, 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 Fri Sep 26 07:44:31 2008 for SimTKcore by  doxygen 1.5.6