MultidimensionalOptimizer.GradientFunction Property

Gets or sets the function that computes the gradient of the objective funciton.

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Func<Vector<double>, Vector<double>> GradientFunction { get; set; }

Property Value

Func<Vector<Double>, Vector<Double>>
A delegate that represents a multivariate function returning a vector.

Exceptions

InvalidOperationExceptionThe method is called while the algorithm is running.

See Also