Click or drag to resize

RombergIntegratorIntegrate Method (OneVariableFunction, Double, Double)

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

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public double Integrate(
	OneVariableFunction function,
	double a,
	double b
)

Parameters

function
Type: CenterSpace.NMath.CoreOneVariableFunction

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

a
Type: SystemDouble
The lower limit of integration.
b
Type: SystemDouble
The upper limit of integration.

Return Value

Type: Double
A Romberg estimate of the integral over the interval.

Implements

IIntegratorIntegrate(OneVariableFunction, Double, Double)
See Also