Estimates the integral of the specified function over the specified interval.

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

Syntax

C#
public override double Integrate(
	OneVariableFunction function,
	double lower,
	double upper
)
Visual Basic (Declaration)
Public Overrides Function Integrate ( _
	function As OneVariableFunction, _
	lower As Double, _
	upper As Double _
) As Double
Visual C++
public:
virtual double Integrate(
	OneVariableFunction^ function, 
	double lower, 
	double upper
) override

Parameters

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

Return Value

Implements

IIntegrator..::.Integrate(OneVariableFunction, Double, Double)

See Also