ModifiableConstant< T > Class Template Reference

A Function that takes a value and returns it. More...

List of all members.

Public Member Functions

 ModifiableConstant (T value, int argumentSize)
calcValue (const Vector &x) const
calcDerivative (const std::vector< int > &derivComponents, const Vector &x) const
calcDerivative (const SimTK::Array_< int > &derivComponents, const Vector &x) const
virtual int getArgumentSize () const
int getMaxDerivativeOrder () const
void setValue (T newValue)

Detailed Description

template<class T>
class ModifiableConstant< T >

A Function that takes a value and returns it.

The value is modifiable.


Constructor & Destructor Documentation

template<class T >
ModifiableConstant< T >::ModifiableConstant ( value,
int  argumentSize 
) [inline]

Member Function Documentation

template<class T >
T ModifiableConstant< T >::calcDerivative ( const SimTK::Array_< int > &  derivComponents,
const Vector &  x 
) const [inline]
template<class T >
T ModifiableConstant< T >::calcDerivative ( const std::vector< int > &  derivComponents,
const Vector &  x 
) const [inline]
template<class T >
T ModifiableConstant< T >::calcValue ( const Vector &  x  )  const [inline]
template<class T >
virtual int ModifiableConstant< T >::getArgumentSize (  )  const [inline, virtual]
template<class T >
int ModifiableConstant< T >::getMaxDerivativeOrder (  )  const [inline]
template<class T >
void ModifiableConstant< T >::setValue ( newValue  )  [inline]

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

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