Skip to content

Commit

Permalink
slight clarification of quadgk docs, as discussed in SciML/ODE.jl#13
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 25, 2014
1 parent 19a13e4 commit 1eb7ca4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/stdlib/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4362,9 +4362,9 @@ some built-in integration support in Julia.

Returns a pair ``(I,E)`` of the estimated integral ``I`` and an
estimated upper bound on the absolute error ``E``. If ``maxevals``
is not exceeded then either ``E <= abstol`` or ``E <=
reltol*norm(I)`` will hold. (Note that it is useful to specify a
positive ``abstol`` in cases where ``norm(I)`` may be zero.)
is not exceeded then ``E <= max(abstol, reltol*norm(I))`` will hold.
(Note that it is useful to specify a positive ``abstol`` in cases where
``norm(I)`` may be zero.)

The endpoints ``a`` etcetera can also be complex (in which case the
integral is performed over straight-line segments in the complex
Expand Down

0 comments on commit 1eb7ca4

Please sign in to comment.