BurdenFairesAdaptiveQuadratureTryIntegrate 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 bool TryIntegrate(
double intervalStart,
double intervalEnd,
double tolerance,
int numberOfLevels,
BurdenFairesAdaptiveQuadratureIntegrand integrand,
out double integral
)
Public Shared Function TryIntegrate (
intervalStart As Double,
intervalEnd As Double,
tolerance As Double,
numberOfLevels As Integer,
integrand As BurdenFairesAdaptiveQuadratureIntegrand,
<OutAttribute> ByRef integral As Double
) As Boolean
public:
static bool TryIntegrate(
double intervalStart,
double intervalEnd,
double tolerance,
int numberOfLevels,
BurdenFairesAdaptiveQuadratureIntegrand^ integrand,
[OutAttribute] double% integral
)
static member TryIntegrate :
intervalStart : float *
intervalEnd : float *
tolerance : float *
numberOfLevels : int *
integrand : BurdenFairesAdaptiveQuadratureIntegrand *
integral : float byref -> bool
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. - numberOfLevels
- Type: SystemInt32
The number of divisions. - integrand
- Type: AGI.Foundation.NumericalMethods.AdvancedBurdenFairesAdaptiveQuadratureIntegrand
The function to be integrated. - integral
- Type: SystemDouble
The value of the integral.
Return Value
Type:
BooleanA boolean value indicating if the integral was successfully computed.
See Also