public class LinearFunction extends LinearCombinationFunction
This function is serializable.
functions, PARAMETER_PREFIX_NAME| Constructor and Description |
|---|
LinearFunction(AbsoluteDate t0,
double a0,
double a1)
Constructor of a linear function f = a0 + a1 * (t - t0) using the input a1 (slope) and
a0 (zero value) values and the initial date.
|
LinearFunction(AbsoluteDate t0,
Parameter a0,
Parameter a1)
Constructor of a linear function: f = a0 + a1 * (t - t0) using the input a1 (slope)
and a0 (zeroValue) parameters and initial date.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Parameter> |
getParameters()
Return the function parameters in this following order: [a0, a1].
|
String |
toString()
Getter for a String representation of this function.
|
derivativeValue, isDifferentiableBy, supportsParameter, valuepublic LinearFunction(AbsoluteDate t0, double a0, double a1)
Note: the parameters are stored in the following order: [a0, a1].
t0 - initial datea0 - the a0 parameter value (function's value when t=0)a1 - the a1 parameter value (slope)NullArgumentException - if t0 is nullpublic LinearFunction(AbsoluteDate t0, Parameter a0, Parameter a1)
Note: the parameters are stored in the following order: [a0, a1] (also called [zeroValue, slope]).
t0 - initial datea0 - the a0 parameter (function's value when t=0)a1 - the a1 parameter (slope)NullArgumentException - if t0, a0 or a1 is nullpublic ArrayList<Parameter> getParameters()
The list is returned in a shallow copy.
getParameters in interface IParameterizablegetParameters in class LinearCombinationFunctionCopyright © 2025 CNES. All rights reserved.