Simple Gaussian-Kronrod quadrature formula.
function to be integrated.
end points of the interval.
variables to be passed to the function.
Gaussian quadrature of degree 7 with Gauss-Kronrod of degree 15 for error
quadQK15 procedure in the QUADPACK library.
List of value and relative error.
The function needs to be vectorized (though this could easily be changed), but the function does not need to be defined at the end points.
Fausett, L. V. (2007). Applied Numerical Analysis Using Matlab. Second edition, Prentice Hall.
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.