|
||||||||||
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.PiecewiseFunction
public class PiecewiseFunction
This class is used to define parameterizable piecewize function. It is defined by a list of IParamDiffFunction, each sub function applying to a certain interval defined by the first date of the interval.
Constructor Summary | |
---|---|
PiecewiseFunction(ArrayList<IParamDiffFunction> flist,
ArrayList<AbsoluteDate> xlist)
Simple constructor with 2 lists (IParamDiffFunction and AbsoluteDate) where dates list represent the connection points between functions. |
Method Summary | |
---|---|
double |
derivativeValue(Parameter p,
SpacecraftState s)
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 |
Constructor Detail |
---|
public PiecewiseFunction(ArrayList<IParamDiffFunction> flist, ArrayList<AbsoluteDate> xlist) throws OrekitException
flist
- list of IParamDiffFunctionxlist
- list of AbsoluteDate ordered chronologically
OrekitException
- if xlist.size() != flist.size() - 1 or xlist is not ordered chronologicallyMethod Detail |
---|
public double value(SpacecraftState s)
s
- the spacecraft state
public double derivativeValue(Parameter p, SpacecraftState s)
p
- parameters
- 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 |