Simbody  3.5
SimTK::Differentiator::ScalarFunction Class Referenceabstract

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

+ Inheritance diagram for SimTK::Differentiator::ScalarFunction:

Public Member Functions

virtual int f (Real x, Real &fx) const =0
 
- Public Member Functions inherited from SimTK::Differentiator::Function
FunctionsetNumFunctions (int)
 
FunctionsetNumParameters (int)
 
FunctionsetEstimatedAccuracy (Real)
 
int getNumFunctions () const
 
int getNumParameters () const
 
Real getEstimatedAccuracy () const
 
void resetAllStatistics ()
 
int getNumCalls () const
 
int getNumFailures () const
 

Protected Member Functions

 ScalarFunction (Real acc=-1)
 
virtual ~ScalarFunction ()
 
- Protected Member Functions inherited from SimTK::Differentiator::Function
 Function ()
 
 ~Function ()
 

Additional Inherited Members

- Protected Attributes inherited from SimTK::Differentiator::Function
FunctionRep * rep
 

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

SimTK::Differentiator::ScalarFunction::ScalarFunction ( Real  acc = -1)
explicitprotected
virtual SimTK::Differentiator::ScalarFunction::~ScalarFunction ( )
inlineprotectedvirtual

Member Function Documentation

virtual int SimTK::Differentiator::ScalarFunction::f ( Real  x,
Real fx 
) const
pure virtual

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