LeastSquaresOptimizer.SetSymbolicObjectiveFunction Method

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

InvalidOperationExceptionThe 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

InvalidOperationExceptionThe method is called while a calculation is underway.

See Also