Skip to content

Commit

Permalink
improve quadgk docs (fix JuliaLang#10649)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Mar 28, 2015
1 parent b046860 commit b535042
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/stdlib/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1690,6 +1690,14 @@ some built-in integration support in Julia.
Alternatively, a different norm can be specified by passing a `norm`-like
function as the `norm` keyword argument (which defaults to `vecnorm`).

[Only one-dimensional integrals are provided by this function. For
multi-dimensional integration (cubature), there are many different
algorithms (often much better than simple nested 1d integrals)
and the optimal choice tends to be very problem-dependent. See
the Julia external-package listing for available algorithms for
multidimensional integration or other specialized tasks (such as
integrals of highly oscillatory or singular functions).]

The algorithm is an adaptive Gauss-Kronrod integration technique:
the integral in each interval is estimated using a Kronrod rule
(``2*order+1`` points) and the error is estimated using an embedded
Expand Down

0 comments on commit b535042

Please sign in to comment.