public class NumericallyComputedMultivariableFunctionDerivativeResults extends SolvableMultivariableFunctionDerivativeResults
SolvableMultivariableFunction
when that evaluation
was done with a numerical algorithm.Constructor and Description |
---|
NumericallyComputedMultivariableFunctionDerivativeResults(SolvableMultivariableFunctionResults value,
double[][] jacobian,
SolvableMultivariableFunctionResults[] perturbedResultsUsedToComputeDerivative,
boolean validPerturbations,
FiniteDifferenceMethod differenceMethod)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
FiniteDifferenceMethod |
getDifferenceMethod()
Gets which difference method was used to compute these results.
|
SolvableMultivariableFunctionResults[] |
getFunctionResultsUsedToComputeDerivative()
Gets the results of the function that were computed at the perturbed values of the variables.
|
boolean |
getValidPerturbations()
Gets a value indicating whether the perturbations are valid.
|
SolvableMultivariableFunctionResults |
getValue()
Gets the results of the function at the nominal values of the variables.
|
clone, getJacobian, getVariables
public NumericallyComputedMultivariableFunctionDerivativeResults(@Nonnull SolvableMultivariableFunctionResults value, @Nonnull double[][] jacobian, SolvableMultivariableFunctionResults[] perturbedResultsUsedToComputeDerivative, boolean validPerturbations, @Nonnull FiniteDifferenceMethod differenceMethod)
value
- The value of the function at the nominal variable values. This may be null
if the routine that computed these results did not compute the value of the function.jacobian
- The Jacobian of the function evaluated at the variables of the value
.perturbedResultsUsedToComputeDerivative
- The evaluations of the function used to compute the jacobian
.validPerturbations
- If the perturbations of the variables were are valid. This may be
false
if the results of the function changed by too small of a value when the perturbations
were applied to the variables.differenceMethod
- What difference method was used to compute these results.public final SolvableMultivariableFunctionResults getValue()
public final SolvableMultivariableFunctionResults[] getFunctionResultsUsedToComputeDerivative()
public final boolean getValidPerturbations()
@Nonnull public final FiniteDifferenceMethod getDifferenceMethod()