LeastSquaresOptimizer.ObjectiveFunction Property

Gets or sets a delegate that computes the function values of the problem.

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>> ObjectiveFunction { get; set; }

Property Value

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

Remarks

The actual objective function is the sum of the squares of the elements of the vector returned by this delegate.

See Also