Approximates a 3-dimensional definite integral using an Nth order Gauss-Legendre rule over the cuboid or rectangular prism [a1,a2] x [b1,b2] x [c1,c2].
            
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static double OnCuboid(
	Func<double, double, double, double> f,
	double invervalBeginA,
	double invervalEndA,
	double invervalBeginB,
	double invervalEndB,
	double invervalBeginC,
	double invervalEndC,
	int order = 32
)
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  (Optional)
 - 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
DoubleApproximation of the finite integral in the given interval.
See Also