Click or drag to resize

FunctionMathFindMaximum Method (FuncDouble, Double, Interval)

Maximizes a function on the given interval.

Namespace:  Meta.Numerics.Analysis
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static Extremum FindMaximum(
	Func<double, double> f,
	Interval r
)

Parameters

f
Type: SystemFuncDouble, Double
The function.
r
Type: Meta.NumericsInterval
The interval.

Return Value

Type: Extremum
The maximum.
Exceptions
ExceptionCondition
ArgumentNullExceptionf is null.
NonconvergenceExceptionMore than the maximum allowed number of function evaluations occurred without a minimum being determined.
See Also