QKgsl_integration_qk Method |
Applies a Gauss-Kronrod quadrature rule on the interval [a, b].
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxprotected static void gsl_integration_qk(
int n,
double[] xgk,
double[] wg,
double[] wgk,
double[] fv1,
double[] fv2,
Func<double, double> f,
double a,
double b,
out double result,
out double abserr,
out double resabs,
out double resasc
)
Parameters
- n Int32
- The number of Kronrod abscissae.
- xgk Double
- The Kronrod abscissae.
- wg Double
- The Gauss weights.
- wgk Double
- The Kronrod weights.
- fv1 Double
- Temporary storage for left function values.
- fv2 Double
- Temporary storage for right function values.
- f FuncDouble, Double
- The function to integrate.
- a Double
- The lower integration bound.
- b Double
- The upper integration bound.
- result Double
- The integral estimate.
- abserr Double
- The estimated absolute error.
- resabs Double
- The approximation to the absolute integral.
- resasc Double
- The approximation to the integral of the absolute deviation.
See Also