Click or drag to resize

GaussKronrod21IntegratorInitialEstimate Method

Calculates the Kronrod 21 point integral approximation and initializes instance data.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected double InitialEstimate(
	OneVariableFunction function,
	double lower,
	double upper
)

Parameters

function  OneVariableFunction
The integrand.
lower  Double
The lower limit of integration.
upper  Double
The upper limit of integration.

Return Value

Double
An approximation of the integral.
Remarks
This method is called by derived classes to initialize instance data and get the 21-point estimate that will be used in calculating approximate error.
See Also