public class ConstantFunction extends LinearCombinationFunction
functions, PARAMETER_PREFIX_NAME| Constructor and Description |
|---|
ConstantFunction(double value)
Constructor of a constant function f = a0 using the input value.
|
ConstantFunction(Parameter param)
Constructor of a constant function f = a0 using the input parameter.
|
ConstantFunction(String name,
double value)
Constructor of a constant function f = a0 using the input value.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Parameter> |
getParameters()
Return the function parameter [a0] (also called [value]) stored in a list.
|
double |
value()
Value of the parameter.
|
derivativeValue, isDifferentiableBy, supportsParameter, valuepublic ConstantFunction(double value)
value - the a0 parameter valuepublic ConstantFunction(String name, double value)
name - the a0 parameter namevalue - the a0 parameter valuepublic ConstantFunction(Parameter param)
param - the a0 parameterNullArgumentException - if param is nullpublic double value()
public ArrayList<Parameter> getParameters()
The list is returned in a shallow copy.
getParameters in interface IParameterizablegetParameters in class LinearCombinationFunctionCopyright © 2022 CNES. All rights reserved.