GaussKronrodRuleIntegrate Method |
Performs adaptive Gauss-Kronrod quadrature on function f over the range (a,b)
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double Integrate(
Func<double, double> f,
double intervalBegin,
double intervalEnd,
out double error,
out double L1Norm,
double targetRelativeError = 1E-10,
int maximumDepth = 15,
int order = 15
)
Parameters
- f FuncDouble, Double
- The analytic smooth function to integrate
- intervalBegin Double
- Where the interval starts
- intervalEnd Double
- Where the interval stops
- error Double
- The difference between the (N-1)/2 point Gauss approximation and the N-point Gauss-Kronrod approximation
- L1Norm Double
- The L1 norm of the result, if there is a significant difference between this and the returned value, then the result is likely to be ill-conditioned.
- targetRelativeError Double (Optional)
- The maximum relative error in the result
- maximumDepth Int32 (Optional)
- The maximum number of interval splittings permitted before stopping
- order Int32 (Optional)
- The number of Gauss-Kronrod points. Pre-computed for 15, 21, 31, 41, 51 and 61 points
Return Value
Double[Missing <returns> documentation for "M:Altaxo.Calc.Integration.GaussKronrodRule.Integrate(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double@,System.Double@,System.Double,System.Int32,System.Int32)"]
See Also