Symbolic Math.Find Maximum(Expression<Func<Double, Double, Double, Double>>, Vector<Double>) Method
Computes a maximum of the specified function.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A local maximum of objectiveFunction.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static OptimizationSolutionReport FindMaximum(
Expression<Func<double, double, double, double>> objectiveFunction,
Vector<double> initialGuess
)
Parameters
- objectiveFunction Expression<Func<Double, Double, Double, Double>>
- A lambda expression that represents a function of three variables that evaluates the objective function.
- initialGuess Vector<Double>
- The starting point for the iteration.
Return Value
OptimizationSolutionReportA local maximum of objectiveFunction.
Exceptions
Convergence | The algorithm failed to converge and ThrowExceptionOnFailure is set to true. |