IMSL C# Numerical Library

Quadrature.Eval Method 

Returns the value of the integral from a to b.

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

Parameters

f
The function to be integrated.
a
A double specifying the lower limit of integration.
b
A double specifying the upper limit of integration, either or both of a and b can be Double.POSITIVE_INFINITY or Double.NEGATIVE_INFINITY.

Return Value

A double specifying the integral value from a to b.

See Also

Quadrature Class | Imsl.Math Namespace