SymbolicMath.FindMinimum(Expression<Func<Double, Double>>, Double, Double) Method

Computes a minimum of the specified function.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static SolutionReport<double, double> FindMinimum(
	Expression<Func<double, double>> objectiveFunction,
	double lowerBound,
	double upperBound
)

Parameters

objectiveFunction  Expression<Func<Double, Double>>
A lambda expression that represents a function of one variable that evaluates the objective function.
lowerBound  Double
The lower bound of the interval where a minimum is to be located.
upperBound  Double
The upper bound of the interval where a minimum is to be located.

Return Value

SolutionReport<Double, Double>
A local minimum of objectiveFunction.

Exceptions

ConvergenceExceptionThe algorithm failed to converge and ThrowExceptionOnFailure is set to true.

See Also