- All Implemented Interfaces:
public class NumericalDerivativeForward extends Object implements FunctionStoS
Finite difference numerical gradient calculation using forward equation. Forward difference equation, f'(x) = f(x+h)-f(x)/h. Scaling is taken in account by h based upon the magnitude of the elements in variable x.
NOTE: If multiple input parameters are modified by the function when a single one is changed numerical derivatives aren't reliable.
Modifier and Type Method Description
(double x)Processes the input to compute an output.