Click or drag to resize

GaussLegendreRuleContourIntegrate Method

Approximates a definite integral using an Nth order Gauss-Legendre rule.

Namespace: Altaxo.Calc.Integration
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Complex
Approximation of the finite integral in the given interval.
See Also