LeastSquaresOptimizer.ObjectiveFunction Property

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

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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