Click or drag to resize

BurdenFairesAdaptiveQuadratureIntegrate Method

Approximates the integral I = Int(f(x), a, b) to within a given tolerance.

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 static double Integrate(
	double intervalStart,
	double intervalEnd,
	double tolerance,
	int numberOfLevels,
	BurdenFairesAdaptiveQuadratureIntegrand integrand
)

Parameters

intervalStart
Type: SystemDouble
The start of the interval in which the function is integrated.
intervalEnd
Type: SystemDouble
The end of the interval in which the function is integrated.
tolerance
Type: SystemDouble
The error tolerance used in the adaptive quadrature technique. Note that this error is multiplied by 10.0 internally.
numberOfLevels
Type: SystemInt32
The number of divisions.
integrand
Type: AGI.Foundation.NumericalMethods.AdvancedBurdenFairesAdaptiveQuadratureIntegrand
The function to be integrated.

Return Value

Type: Double
The value of the integral.
Exceptions
ExceptionCondition
ArithmeticExceptionThrown when too many steps are taken.
See Also