GaussLegendreRuleContourIntegrate Method |
Approximates a definite integral using an Nth order Gauss-Legendre rule.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Complex ContourIntegrate(
Func<double, Complex> f,
double invervalBegin,
double invervalEnd,
int order
)
Parameters
- f FuncDouble, Complex
- The analytic smooth complex function to integrate, defined on the real domain.
- invervalBegin Double
- Where the interval starts, exclusive and finite.
- invervalEnd Double
- Where the interval ends, exclusive and finite.
- order Int32
- Defines an Nth order Gauss-Legendre rule. The order also defines the number of abscissas and weights for the rule. Precomputed Gauss-Legendre abscissas/weights for orders 2-20, 32, 64, 96, 100, 128, 256, 512, 1024 are used, otherwise they're calculated on the fly.
Return Value
ComplexApproximation of the finite integral in the given interval.
See Also