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: 25.1.421.0 (25.1.421.0)
Syntax
public BrentFindExtremum(
	RealValuedScalarFunction function,
	double variableTolerance,
	double functionTolerance,
	ConvergenceCriteria criteria
)

Parameters

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