MultidimensionalOptimizer.GradientFunction Property

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

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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

InvalidOperationException

The method is called while the algorithm is running.

See Also