public class Constant extends FunctionBase
Modifier and Type | Method and Description |
---|---|
Constant |
clone() |
double |
evaluate(VectorNd x)
Evaluates the function at the given input value
|
void |
evaluateDerivative(VectorNd cvals,
VectorNd df)
Evaluates the function derivative at the given input value
|
double |
getValue() |
void |
setValue(double val) |
public double getValue()
public void setValue(double val)
public double evaluate(VectorNd x)
FunctionBase
evaluate
in class FunctionBase
public void evaluateDerivative(VectorNd cvals, VectorNd df)
FunctionBase
evaluateDerivative
in class FunctionBase
public Constant clone()
clone
in interface Clonable
clone
in class FunctionBase