Simbody
Public Member Functions | Protected Member Functions

SimTK::Differentiator::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 SimTK::Differentiator::ScalarFunction:

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

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines