| GaussKronrod21IntegratorIntegrate(OneVariableFunction, DoubleVector, DoubleVector) Method |
Uses the Gauss Kronrod algorithm to integrate the specified function
using the specified nodes and weights.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected double Integrate(
OneVariableFunction function,
DoubleVector nodes,
DoubleVector weights
)
Protected Function Integrate (
function As OneVariableFunction,
nodes As DoubleVector,
weights As DoubleVector
) As Double
protected:
double Integrate(
OneVariableFunction^ function,
DoubleVector^ nodes,
DoubleVector^ weights
)
member Integrate :
function : OneVariableFunction *
nodes : DoubleVector *
weights : DoubleVector -> float
Parameters
- function OneVariableFunction
- Function to integrate.
- nodes DoubleVector
- Gauss Kronrod nodes.
- weights DoubleVector
- Gauss Kronrod weights.
Return Value
DoubleIntegral estimate.
Remarks The method GaussKronrod21Integrator.Integrate( OneVariableFunction, double, double)
must be called before this function is called.
See Also