This is a SimTK::Function that multiplies the value of another function by a constant.
More...
#include <FunctionScaler.h>
Protected Attributes |
const SimTK::Function * | _function |
| The function to be scaled.
|
const double | _scale |
| The scale factor.
|
Detailed Description
This is a SimTK::Function that multiplies the value of another function by a constant.
- Author
- Peter Eastman
Constructor & Destructor Documentation
OpenSim::FunctionScaler::FunctionScaler |
( |
const SimTK::Function * |
function, |
|
|
double |
scale |
|
) |
| |
OpenSim::FunctionScaler::~FunctionScaler |
( |
| ) |
|
Member Function Documentation
double OpenSim::FunctionScaler::calcDerivative |
( |
const std::vector< int > & |
derivComponents, |
|
|
const SimTK::Vector & |
x |
|
) |
| const |
double OpenSim::FunctionScaler::calcValue |
( |
const SimTK::Vector & |
x | ) |
const |
int OpenSim::FunctionScaler::getArgumentSize |
( |
| ) |
const |
int OpenSim::FunctionScaler::getMaxDerivativeOrder |
( |
| ) |
const |
Member Data Documentation
const SimTK::Function* OpenSim::FunctionScaler::_function |
|
protected |
The function to be scaled.
const double OpenSim::FunctionScaler::_scale |
|
protected |
The documentation for this class was generated from the following file:
- E:/Projects/OpenSimTrunk/OpenSim/Common/FunctionScaler.h