Click or drag to resize

BrentFindExtremum Constructor

Initializes the extremum finding algorithm.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public BrentFindExtremum(
	RealValuedScalarFunction function,
	double variableTolerance,
	double functionTolerance,
	ConvergenceCriteria criteria
)

Parameters

function
Type: AGI.Foundation.NumericalMethodsRealValuedScalarFunction
The function to evaluate.
variableTolerance
Type: SystemDouble
The convergence tolerance in the independent variable.
functionTolerance
Type: SystemDouble
The convergence tolerance in the function value.
criteria
Type: AGI.Foundation.NumericalMethods.AdvancedConvergenceCriteria
The ConvergenceCriteria to be used.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when the function is .
ArgumentOutOfRangeException Thrown when the variableTolerance or functionTolerance is less than or equal to zero.
See Also