OptimizerMultivariableFunctionEvaluate Method (Double, Int32, Boolean, ITrackCalculationProgress) |
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public virtual MultivariableFunctionEvaluationAndDerivativeResults<OptimizerMultivariableFunctionResults, OptimizerMultivariableFunctionDerivativeResults> Evaluate(
double[] variables,
int order,
bool multithreaded,
ITrackCalculationProgress progressTracker
)
Public Overridable Function Evaluate (
variables As Double(),
order As Integer,
multithreaded As Boolean,
progressTracker As ITrackCalculationProgress
) As MultivariableFunctionEvaluationAndDerivativeResults(Of OptimizerMultivariableFunctionResults, OptimizerMultivariableFunctionDerivativeResults)
public:
virtual MultivariableFunctionEvaluationAndDerivativeResults<OptimizerMultivariableFunctionResults^, OptimizerMultivariableFunctionDerivativeResults^>^ Evaluate(
array<double>^ variables,
int order,
bool multithreaded,
ITrackCalculationProgress^ progressTracker
)
abstract Evaluate :
variables : float[] *
order : int *
multithreaded : bool *
progressTracker : ITrackCalculationProgress -> MultivariableFunctionEvaluationAndDerivativeResults<OptimizerMultivariableFunctionResults, OptimizerMultivariableFunctionDerivativeResults>
override Evaluate :
variables : float[] *
order : int *
multithreaded : bool *
progressTracker : ITrackCalculationProgress -> MultivariableFunctionEvaluationAndDerivativeResults<OptimizerMultivariableFunctionResults, OptimizerMultivariableFunctionDerivativeResults>
Parameters
- variables
- Type: SystemDouble
The values of the variables to evaluate at. - order
- Type: SystemInt32
The highest order of the function that should be evaluated. By default, this can be 0 or 1. - multithreaded
- Type: SystemBoolean
Should the evaluation be done using as many cores as possible. - progressTracker
- Type: AGI.FoundationITrackCalculationProgress
An optional progress tracker.
Return Value
Type:
MultivariableFunctionEvaluationAndDerivativeResultsOptimizerMultivariableFunctionResults,
OptimizerMultivariableFunctionDerivativeResultsThe cost function value, equality constraint values, inequality constraint values, and gradients of all those values.
See Also