MultidimensionalOptimizer.FastGradientFunction 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.0
C#
public Func<Vector<double>, Vector<double>?, Vector<double>> FastGradientFunction { get; set; }

Property Value

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

Exceptions

InvalidOperationException

The method is called while the algorithm is running.

See Also