|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.parameter.Parameterizable org.orekit.parameter.ParamDiffFunction org.orekit.parameter.LinearFunction
public class LinearFunction
This class is used to define parameterizable linear function a
(t -t0) + b
.
Field Summary | |
---|---|
static String |
A
Default function slope name. |
static String |
B
Default ordinate origin name. |
Constructor Summary | |
---|---|
LinearFunction(AbsoluteDate t0,
double slope,
double zeroValue)
Simple constructor of a linear function a * (t - t0) + b using input constant a, b and initial date. |
|
LinearFunction(AbsoluteDate t0,
Parameter slope,
Parameter zeroValue)
Simple constructor of a linear function a * (t - t0) + b
using input Parameter and initial date. |
Method Summary | |
---|---|
double |
derivativeValue(Parameter p,
SpacecraftState state)
Compute the derivative value with respect to the input parameter. |
ArrayList<Parameter> |
getParameters()
Get the supported parameters. |
double |
value(SpacecraftState s)
Getting the value of the function. |
Methods inherited from class org.orekit.parameter.ParamDiffFunction |
---|
isDifferentiableBy, supportsParameter |
Methods inherited from class org.orekit.parameter.Parameterizable |
---|
addParameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String A
public static final String B
Constructor Detail |
---|
public LinearFunction(AbsoluteDate t0, Parameter slope, Parameter zeroValue)
a
* (t - t0) + b
using input Parameter
and initial date.
t0
- initial dateslope
- Function's slope : a
zeroValue
- Function's value when t=0 : b
public LinearFunction(AbsoluteDate t0, double slope, double zeroValue)
t0
- initial dateslope
- Function's slope : azeroValue
- Function's value when t=0 : bMethod Detail |
---|
public double value(SpacecraftState s)
s
- the spacecraft state
public double derivativeValue(Parameter p, SpacecraftState state)
p
- parameterstate
- current state
public ArrayList<Parameter> getParameters()
getParameters
in interface IParameterizable
getParameters
in class Parameterizable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |