public static class NumericalDifferentiator.DoubleJacobian extends NumericalDifferentiator<java.lang.Double,java.lang.Double,java.lang.Double>
NumericalDifferentiator.DoubleJacobian, NumericalDifferentiator.MatrixJacobian, NumericalDifferentiator.VectorJacobian
Constructor and Description |
---|
DoubleJacobian()
Default constructor
|
DoubleJacobian(Evaluator<? super java.lang.Double,java.lang.Double> internalFunction)
Creates a new instance of VectorJacobian
|
DoubleJacobian(Evaluator<? super java.lang.Double,java.lang.Double> internalFunction,
double delta)
Create a new instance of VectorJacobian
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
differentiate(java.lang.Double input)
Differentiates the output with respect to the input
|
static java.lang.Double |
differentiate(double input,
Evaluator<? super java.lang.Double,java.lang.Double> f)
Static access to the numerical differentiation procedure.
|
static java.lang.Double |
differentiate(double input,
Evaluator<? super java.lang.Double,java.lang.Double> f,
double h)
Static access to the numerical differentiation procedure.
|
clone, evaluate, getDelta, getInternalFunction, setDelta, setInternalFunction
public DoubleJacobian()
public DoubleJacobian(Evaluator<? super java.lang.Double,java.lang.Double> internalFunction)
internalFunction
- Internal function to numerically differencing.public DoubleJacobian(Evaluator<? super java.lang.Double,java.lang.Double> internalFunction, double delta)
internalFunction
- Internal function to numerically differencing.delta
- Value for x-value differencingpublic static java.lang.Double differentiate(double input, Evaluator<? super java.lang.Double,java.lang.Double> f)
input
- Input about which to approximate the derivative.f
- Function of which to approximate the derivative.public static java.lang.Double differentiate(double input, Evaluator<? super java.lang.Double,java.lang.Double> f, double h)
input
- Input about which to approximate the derivative.f
- Function of which to approximate the derivative.h
- Value for x-value differencingpublic java.lang.Double differentiate(java.lang.Double input)
DifferentiableEvaluator
input
- Input about which to compute the derivative