|
| ChebyshevFunction (const ConfigOptions &options) |
|
virtual double | a (double t) const |
| Compute the value of the function at time t .
|
|
virtual double | dadt (double t) const |
| Compute the time derivative of the function at time t .
|
|
virtual void | setCoefficients (int n, const double *coeffs) |
| The first two elements are the time interval \( (t_0, t_1) \) used to map the time onto the interval (-1, 1).
|
|
| ScalarFunction () |
|
virtual | ~ScalarFunction () |
|
virtual void | setCoefficients (int n, const double *coeffs) |
| Set the parameters associated with this function.
|
|
virtual double | a (double t) const =0 |
| Compute the value of the function at time t .
|
|
virtual double | dadt (double t) const =0 |
| Compute the time derivative of the function at time t .
|
|
Chebyshev polynomial representation of a(t).
\[
a(t) = \sum_{n=0}^N a_n T_n(x)
\]
where \( T_n(x) \) are Chebyshev polynomials of the first kind and \( x = 2 * (t-t_o)/(t_1-t_0) - 1 \) maps t onto the interval [-1,1].