Returns the value of the integral from a to b.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double Eval(
	Quadrature..::.IFunction f,
	double a,
	double b
)
Visual Basic (Declaration)
Public Function Eval ( _
	f As Quadrature..::.IFunction, _
	a As Double, _
	b As Double _
) As Double
Visual C++
public:
double Eval(
	Quadrature..::.IFunction^ f, 
	double a, 
	double b
)

Parameters

f
Type: Imsl.Math..::.Quadrature..::.IFunction
The function to be integrated.
a
Type: System..::.Double
A double specifying the lower limit of integration.
b
Type: System..::.Double
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