public interface Diff1FunctionNx1 extends FunctionNx1
| Modifier and Type | Method and Description |
|---|---|
double |
eval(VectorNd deriv,
VectorNd in)
Evaluates this function for the specified inputs.
|
default void |
evalDeriv(VectorNd deriv,
VectorNd in)
Evaluates the derivative of this function for the specified inputs.
|
eval, inputSizedouble eval(VectorNd deriv, VectorNd in)
deriv is not
null, the derivative is also computed and returned in this
argument. The input vector size should equal the value returned by FunctionNx1.inputSize(). If present, deriv will be resized, if necessary, to
FunctionNx1.inputSize().deriv - if not null, returns the derivative valuesin - function input valuesdefault void evalDeriv(VectorNd deriv, VectorNd in)
FunctionNx1.inputSize(). The derivative vector will be resized, if necessary, to
FunctionNx1.inputSize().deriv - returns the derivative valuesin - function input values