Click or drag to resize

IntegrateOnRectangle(FuncDouble, Double, Double, Double, Double, Double, Double) Method

Approximates a 2-dimensional definite integral using an Nth order Gauss-Legendre rule over the rectangle [a,b] x [c,d].

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

Parameters

f  FuncDouble, Double, Double
The 2-dimensional analytic smooth function to integrate.
invervalBeginA  Double
Where the interval starts for the first (inside) integral, exclusive and finite.
invervalEndA  Double
Where the interval ends for the first (inside) integral, exclusive and finite.
invervalBeginB  Double
Where the interval starts for the second (outside) integral, exclusive and finite.
invervalEndB  Double
Where the interval ends for the second (outside) integral, exclusive and finite.

Return Value

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