Least Squares Optimizer.Set Symbolic Objective Function Method
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Set | Sets the objective function as a list of symbolic expressions. |
Set | 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.
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
Invalid | 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.
public void SetSymbolicObjectiveFunction(
IList<Expression<Func<Vector<double>, double>>> functions
)
Parameters
Exceptions
Invalid | The method is called while a calculation is underway. |