Description
QuadGK.jl is a Julia package for one-dimensional numerical integration using adaptive Gauss-Kronrod quadrature. The code was originally part of Julia's Base library. It integrates arbitrary numeric types, including arbitrary precision BigFloat, and it can even integrate over arbitrary normed vector spaces, such as matrix-valued integrands. The package provides three functions. quadgk performs the integration, gauss computes Gaussian quadrature points and weights over an interval from a to b, and kronrod computes Kronrod points, weights and the embedded Gaussian weights for the interval from -1 to 1. The README shows a typical call: integrating exp of minus x squared from 0 to 1 to a relative tolerance of 10 to the minus 8. It returns an approximate integral and an error estimate that is smaller than the requested tolerance, because the integrand is smooth and convergence is fast. The package documentation has the full details, and the source is public on GitHub under the JuliaMath organization.…
Highlights
- Adaptive Gauss-Kronrod integration in Julia
- Works with BigFloat and other numeric types
- Integrates matrix-valued functions
- gauss and kronrod point and weight functions
- Originally part of Julia Base
Ratings & Reviews
No ratings yet
Be the first to rate QuadGK.jl.
People also visit
QuadGK.jl FAQ
What does QuadGK.jl do?
It performs adaptive one-dimensional numerical integration using Gauss-Kronrod quadrature.
Can it use high precision?
Yes. It supports arbitrary numeric types, including arbitrary precision BigFloat.
What functions does it provide?
quadgk performs the integration, gauss computes Gaussian points and weights for an interval, and kronrod computes Kronrod points and weights on -1 to 1.
Can it integrate matrices?
Yes. The README says it can integrate over arbitrary normed vector spaces, such as matrix-valued integrands.
Where is the code?
On GitHub at JuliaMath/QuadGK.jl.
What are the best QuadGK.jl alternatives?
Popular alternatives to QuadGK.jl include SpecialFunctions.jl, AbstractAlgebra.jl and Roots.jl. See all QuadGK.jl alternatives



