BurdenFairesAdaptiveQuadrature.Integrate 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)
Syntaxpublic static double Integrate(
double intervalStart,
double intervalEnd,
double tolerance,
int numberOfLevels,
BurdenFairesAdaptiveQuadrature.Integrand integrand
)
Public Shared Function Integrate (
intervalStart As Double,
intervalEnd As Double,
tolerance As Double,
numberOfLevels As Integer,
integrand As BurdenFairesAdaptiveQuadrature.Integrand
) As Double
public:
static double Integrate(
double intervalStart,
double intervalEnd,
double tolerance,
int numberOfLevels,
BurdenFairesAdaptiveQuadrature.Integrand^ integrand
)
static member Integrate :
intervalStart : float *
intervalEnd : float *
tolerance : float *
numberOfLevels : int *
integrand : BurdenFairesAdaptiveQuadrature.Integrand -> float
Parameters
- intervalStart
- Type: System.Double
The start of the interval in which the function is integrated. - intervalEnd
- Type: System.Double
The end of the interval in which the function is integrated. - tolerance
- Type: System.Double
The error tolerance used in the adaptive quadrature technique. Note that this error is multiplied by 10.0 internally. - numberOfLevels
- Type: System.Int32
The number of divisions. - integrand
- Type: AGI.Foundation.NumericalMethods.Advanced.BurdenFairesAdaptiveQuadrature.Integrand
The function to be integrated.
Return Value
Type:
DoubleThe value of the integral.
Exceptions
See Also