Ember
|
Chebyshev polynomial representation of a(t). More...
#include <scalarFunction.h>
Public Member Functions | |
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 | |
![]() | |
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 . | |
Private Attributes | |
double | T0 |
double | T1 |
dvec | coeffs |
Chebyshev polynomial representation of a(t).
where
|
explicit |
|
virtual |
Compute the value of the function at time t
.
Implements ScalarFunction.
|
virtual |
Compute the time derivative of the function at time t
.
Implements ScalarFunction.
|
virtual |
The first two elements are the time interval
The remaining elements are the coefficients used to multiply the Chebyshev polynomials.
Reimplemented from ScalarFunction.
|
private |
|
private |
|
private |