Click or drag to resize

GaussKronrod21IntegratorIntegrate(OneVariableFunction, DoubleVector, DoubleVector) Method

Uses the Gauss Kronrod algorithm to integrate the specified function using the specified nodes and weights.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected double Integrate(
	OneVariableFunction function,
	DoubleVector nodes,
	DoubleVector weights
)

Parameters

function  OneVariableFunction
Function to integrate.
nodes  DoubleVector
Gauss Kronrod nodes.
weights  DoubleVector
Gauss Kronrod weights.

Return Value

Double
Integral estimate.
Remarks
The method GaussKronrod21Integrator.Integrate( OneVariableFunction, double, double) must be called before this function is called.
See Also