|Modifier and Type||Method and Description|
Computes the Jacobian of a
public static NumericallyComputedMultivariableFunctionDerivativeResults computeJacobianNumerically(SolvableMultivariableFunction function, double variables, double perturbationValues, @Nonnull FiniteDifferenceMethod differenceMethod, boolean multithreaded, SolvableMultivariableFunctionResults precomputedValueResults, ITrackCalculationProgress progressTracker)
SolvableMultivariableFunctionnumerically. This will call the appropriate events on the functions as they are computed.
SolvableMultivariableFunctionto compute the Jacobian for.
variables- The independent variables to compute the Jacobian at.
perturbationValues- How much each
variablesshould be perturbed while computing the Jacobian.
differenceMethod- The differencing method to use to numerically compute the derivative.
multithreaded- Should this routine use a multithreaded algorithm. Usually the multithreaded algorithm will be faster, however in cases where there are very few variables and the
functionevaluates very quickly, it may be faster to set this to false.
precomputedValueResults- The function results at the
variables. This is optional; if this is
nullthen the function will be evaluated at the
progressTracker- An optional progress tracker.