NumericallyComputedOptimizerFunctionDerivativeResults Constructor (OptimizerMultivariableFunctionResults, Double, Double, Double, OptimizerMultivariableFunctionResults, FiniteDifferenceMethod) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public NumericallyComputedOptimizerFunctionDerivativeResults(
OptimizerMultivariableFunctionResults value,
double[] costFunctionGradient,
double[][] equalityConstraintGradients,
double[][] inequalityConstraintGradients,
OptimizerMultivariableFunctionResults[] perturbedResultsUsedToComputeDerivative,
FiniteDifferenceMethod differenceMethod
)
Public Sub New (
value As OptimizerMultivariableFunctionResults,
costFunctionGradient As Double(),
equalityConstraintGradients As Double()(),
inequalityConstraintGradients As Double()(),
perturbedResultsUsedToComputeDerivative As OptimizerMultivariableFunctionResults(),
differenceMethod As FiniteDifferenceMethod
)
public:
NumericallyComputedOptimizerFunctionDerivativeResults(
OptimizerMultivariableFunctionResults^ value,
array<double>^ costFunctionGradient,
array<array<double>^>^ equalityConstraintGradients,
array<array<double>^>^ inequalityConstraintGradients,
array<OptimizerMultivariableFunctionResults^>^ perturbedResultsUsedToComputeDerivative,
FiniteDifferenceMethod differenceMethod
)
new :
value : OptimizerMultivariableFunctionResults *
costFunctionGradient : float[] *
equalityConstraintGradients : float[][] *
inequalityConstraintGradients : float[][] *
perturbedResultsUsedToComputeDerivative : OptimizerMultivariableFunctionResults[] *
differenceMethod : FiniteDifferenceMethod -> NumericallyComputedOptimizerFunctionDerivativeResults
Parameters
- value
- Type: AGI.Foundation.NumericalMethodsOptimizerMultivariableFunctionResults
The value of the function at the nominal variable values. This may be
if the routine that computed these results did not compute the value of the function. - costFunctionGradient
- Type: SystemDouble
The gradient of the cost function evaluated at the variables
of the value. - equalityConstraintGradients
- Type: SystemDouble
The gradients of the equality constraints evaluated at the variables
of the value. - inequalityConstraintGradients
- Type: SystemDouble
The gradients of the inequality constraints evaluated at the
variables of the value. - perturbedResultsUsedToComputeDerivative
- Type: AGI.Foundation.NumericalMethodsOptimizerMultivariableFunctionResults
The evaluations of the function used to compute the gradients. - differenceMethod
- Type: AGI.Foundation.NumericalMethodsFiniteDifferenceMethod
What difference method was used to compute these results.
See Also