Click or drag to resize

GaussLegendreRuleIntegrate(FuncDouble, Double, Double, Double, Double, Double, Double, Double, Double, Double, Int32) Method

Approximates a 3-dimensional definite integral using an Nth order Gauss-Legendre rule over the cuboid [a1,a2] x [b1,b2] x [c1,c2].

Namespace: Altaxo.Calc.Integration
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Integrate(
	Func<double, double, double, double> f,
	double invervalBeginA,
	double invervalEndA,
	double invervalBeginB,
	double invervalEndB,
	double invervalBeginC,
	double invervalEndC,
	int order
)

Parameters

f  FuncDouble, Double, Double, Double
The 3-dimensional analytic smooth function to integrate.
invervalBeginA  Double
Where the interval starts for the first integral, exclusive and finite.
invervalEndA  Double
Where the interval ends for the first integral, exclusive and finite.
invervalBeginB  Double
Where the interval starts for the second integral, exclusive and finite.
invervalEndB  Double
Where the interval ends for the second integral, exclusive and finite.
invervalBeginC  Double
Where the interval starts for the third integral, exclusive and finite.
invervalEndC  Double
Where the interval ends for the third integral, 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

Double
Approximation of the finite integral in the given intervals.
See Also