| GaussKronrod21IntegratorInitialEstimate Method |
Calculates the Kronrod 21 point integral approximation and initializes instance
data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected double InitialEstimate(
OneVariableFunction function,
double lower,
double upper
)
Protected Function InitialEstimate (
function As OneVariableFunction,
lower As Double,
upper As Double
) As Double
protected:
double InitialEstimate(
OneVariableFunction^ function,
double lower,
double upper
)
member InitialEstimate :
function : OneVariableFunction *
lower : float *
upper : float -> float
Parameters
- function OneVariableFunction
- The integrand.
- lower Double
- The lower limit of integration.
- upper Double
- The upper limit of integration.
Return Value
DoubleAn 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