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

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

Syntax

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

Parameters

function
Type: CenterSpace.NMath.Core..::.OneVariableFunction

[Missing <param name="function"/> documentation for "M:CenterSpace.NMath.Core.RombergIntegrator.Integrate(CenterSpace.NMath.Core.OneVariableFunction,System.Double,System.Double)"]

a
Type: System..::.Double
The lower limit of integration.
b
Type: System..::.Double
The upper limit of integration.

Return Value

A Romberg estimate of the integral over the interval.

Implements

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

See Also