OpenSim::FunctionSet Class Reference

#include <FunctionSet.h>

Inheritance diagram for OpenSim::FunctionSet:
OpenSim::Set< Function > OpenSim::Object OpenSim::GCVSplineSet

List of all members.

Public Member Functions

 FunctionSet ()
 Default constructor.
 FunctionSet (const std::string &aFileName)
virtual ~FunctionSet ()
 Destructor.
virtual double evaluate (int aIndex, int aDerivOrder, double aX=0.0) const
 Evaluate a function or one of its derivatives.
virtual void evaluate (Array< double > &rValues, int aDerivOrder, double aX=0.0) const
 Evaluate all the functions in the function set or their derivatives.

Constructor & Destructor Documentation

FunctionSet::FunctionSet (  ) 

Default constructor.

Parameters:
aName Name of the function set.
OpenSim::FunctionSet::FunctionSet ( const std::string &  aFileName  ) 
FunctionSet::~FunctionSet (  )  [virtual]

Destructor.


Member Function Documentation

void FunctionSet::evaluate ( Array< double > &  rValues,
int  aDerivOrder,
double  aX = 0.0 
) const [virtual]

Evaluate all the functions in the function set or their derivatives.

Parameters:
rValues Array containing the values of the functions.
aDerivOrder Order of the derivative to evaluate.
aX Value of the x independent variable.
aY Value of the y independent variable.
aZ Value of the z independent variable.
Returns:
Value of the function. If the function is NULL or undefined, SimTK::NaN is returned.
See also:
Function
double FunctionSet::evaluate ( int  aIndex,
int  aDerivOrder,
double  aX = 0.0 
) const [virtual]

Evaluate a function or one of its derivatives.

Parameters:
aIndex Index of the function to evaluate.
aDerivOrder Order of the derivative to evaluate.
aX Value of the x independent variable.
aY Value of the y independent variable.
aZ Value of the z independent variable.
Returns:
Value of the function. If the function is NULL or undefined, SimTK::NaN is returned.
See also:
Function

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

Generated on Sun Sep 25 00:19:48 2011 for OpenSim by  doxygen 1.6.1