public final class SolvableMultivariableFunctionOperations extends Object
SolvableMultivariableFunction.| Modifier and Type | Method and Description |
|---|---|
static NumericallyComputedMultivariableFunctionDerivativeResults |
computeJacobianNumerically(SolvableMultivariableFunction function,
double[] variables,
double[] perturbationValues,
FiniteDifferenceMethod differenceMethod,
boolean multithreaded,
SolvableMultivariableFunctionResults precomputedValueResults,
ITrackCalculationProgress progressTracker)
Computes the Jacobian of a
SolvableMultivariableFunction numerically. |
@Nonnull public static NumericallyComputedMultivariableFunctionDerivativeResults computeJacobianNumerically(@Nonnull SolvableMultivariableFunction function, @Nonnull double[] variables, @Nonnull double[] perturbationValues, @Nonnull FiniteDifferenceMethod differenceMethod, boolean multithreaded, @Nullable SolvableMultivariableFunctionResults precomputedValueResults, @Nullable ITrackCalculationProgress progressTracker)
SolvableMultivariableFunction numerically. This will call the
appropriate events on the functions as they are computed.function - The SolvableMultivariableFunction to compute the Jacobian for.variables - The independent variables to compute the Jacobian at.perturbationValues - How much each variables should 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 function evaluates very quickly, it may be faster to set this to
false.precomputedValueResults - The function results at the variables.
This is optional; if this is null then the function will be evaluated
at the variables.progressTracker - An optional progress tracker.