Integrates the given function within the given interval.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
double Integrate(
	OneVariableFunction function,
	double a,
	double b
)
Visual Basic (Declaration)
Function Integrate ( _
	function As OneVariableFunction, _
	a As Double, _
	b As Double _
) As Double
Visual C++
double Integrate(
	OneVariableFunction^ function, 
	double a, 
	double b
)

Parameters

function
Type: CenterSpace.NMath.Core..::.OneVariableFunction
The function to integrate.
a
Type: System..::.Double
The lower limit of integration.
b
Type: System..::.Double
The upper limit of integration.

Return Value

The integral of function over the interval from a to b.

See Also