LeastSquaresOptimizer.SetSymbolicObjectiveFunction Method

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

SetSymbolicObjectiveFunction(Expression<Func<Vector<Double>, Double>>[]) Sets the objective function as a list of symbolic expressions.
SetSymbolicObjectiveFunction(IList<Expression<Func<Vector<Double>, Double>>>) Sets the objective function as a list of symbolic expressions.

SetSymbolicObjectiveFunction(Expression<Func<Vector<Double>, Double>>[])

Sets the objective function as a list of symbolic expressions.
C#
public void SetSymbolicObjectiveFunction(
	params Expression<Func<Vector<double>, double>>[] functions
)

Parameters

functions  Expression<Func<Vector<Double>, Double>>[]
A parameter array of lambda expressions that define the components of the objective function.

Exceptions

InvalidOperationException

The method is called while a calculation is underway.

SetSymbolicObjectiveFunction(IList<Expression<Func<Vector<Double>, Double>>>)

Sets the objective function as a list of symbolic expressions.
C#
public void SetSymbolicObjectiveFunction(
	IList<Expression<Func<Vector<double>, double>>> functions
)

Parameters

functions  IList<Expression<Func<Vector<Double>, Double>>>
A list of lambda expressions that define the components of the objective function.

Exceptions

InvalidOperationException

The method is called while a calculation is underway.

See Also