Click or drag to resize

GoldenSectionFindExtremum Constructor

Initializes the extremum finding algorithm.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public GoldenSectionFindExtremum(
	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 thefunction is .
ArgumentOutOfRangeException Thrown when the variableTolerance or functionTolerance is less than or equal to zero.
See Also