IMSL C# Numerical Library

HyperRectangleQuadrature.Eval Method (IFunction, Double[], Double[])

Returns the value of the integral over a cube.

public double Eval(
   IFunction f,
   double[] a,
   double[] b
);

Parameters

f
A IFunction containing the function to be integrated.
a
A double specifying the lower limit of integration. If null all of the lower limits default to 0.
b
A double specifying the upper limit of integration. If null all of the upper limits default to 1.

Return Value

A double containing the value of the integral over the unit cube.

See Also

HyperRectangleQuadrature Class | Imsl.Math Namespace | HyperRectangleQuadrature.Eval Overload List