|
||||||||||
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.ConstantFunction
public class ConstantFunction
This class is used to define a constant parameterizable function.
Constructor Summary | |
---|---|
ConstantFunction(double value)
Simple constructor with a given name and value. |
|
ConstantFunction(Parameter param)
Simple constructor with a given Parameter . |
|
ConstantFunction(String name,
double value)
Simple constructor with a given name and value. |
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()
Value of the parameter. |
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 ConstantFunction(Parameter param)
Parameter
.
param
- a parameterpublic ConstantFunction(String name, double value)
name
- a parameter namevalue
- a parameter valuepublic ConstantFunction(double value)
value
- a parameter valueMethod Detail |
---|
public double value(SpacecraftState s)
s
- the spacecraft state
public double value()
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 |