|
OSFEG-C++
1.4.7
OpenSF Error Generation Library
|
#include <Polynomial.h>
Public Member Functions | |
| double | getValue (double time) |
| Polynomial (string type) | |
Public Member Functions inherited from Analytical | |
| Analytical (string type) | |
| Analytical (double value) | |
| virtual | ~Analytical () |
Public Member Functions inherited from Composite | |
| Composite () | |
| Composite (const Composite &)=delete | |
| Composite & | operator= (const Composite &)=delete |
| Composite (Composite &&)=default | |
| Composite & | operator= (Composite &&)=default |
| virtual | ~Composite () |
| void | add (Composite *node) |
| void | remove (Composite *node) |
| Composite * | getChild (int index) |
| bool | hasChildNodes () const |
Additional Inherited Members | |
Protected Attributes inherited from Analytical | |
| double | value |
| Fixed value (for float) | |
| string | type |
| Type of value (currently only "Float") | |
Protected Attributes inherited from Composite | |
| std::vector< Composite * > | children |
| Composite * | parent |
Calculates a perturbation modelled as a time dependent polynomial. The time is the input time, calculated since the reference time.
It implements five different functions, returning the polynomial value modeled as:
| Polynomial::Polynomial | ( | string | type | ) |
Polynomial class constructor
| type | String with the error type description. |
|
virtual |
Returns the value of a perturbation that follows a polynomial rule at the specified simulation time. Overwrites method getValue from parent class Analytical.
| time | Double with the time in which the error is evaluated. |
Reimplemented from Analytical.