>
> How can I see the signature of these three methods?

methods(quadgk)

In helpdb.jl, quadgk has a distinctly longer description than most other
> entries. How can I better exploit this "help database" (online)?


In the REPL the help entry is available by prefacing a name with "?"

julia> ?quadgk

(adding help information to non-base code is still pending, see
https://github.com/JuliaLang/julia/issues/3988)

Leaving the other questions for someone familiar with that code.

Best,
Isaiah




On Sun, Jan 26, 2014 at 7:22 AM, Hans W Borchers <[email protected]>wrote:

> How can I see a list of all functions in Julia Base, say with signature
> and a one line description? At the moment I am looking through exports.jl.
> Thus I found, e.g., quadgk which I not would have expected having seen
> `integrate` in package Calculus before.
>
>     Julia> quadgk
>     quadgk (generic function with 3 methods)
>
> How can I see the signature of these three methods? In quadgk.jl I only
> found two function definitions for quadgk().
>
> Calling the function (in Julia 0.2.0, on Mac OSX) I get
>
>     julia> quadgk(sin, 0, pi)
>     Warning: Possible conflict in library symbol dstev_
>     (2.0000000000000004,1.7896795156957523e-12)
>
> What does this warning mean? I would like to understand though in Julia
> 0.3.0 (on Ubuntu Linux) this warning seems to have gone. By the way, Julia
> here returns a more exact result 2.0, which I guess was not reached by
> improving the algorithm.
>
> Seeing the accuracy of the result, the error term is much too large. But
> having written my own version of Gauss-Kronrod (in R) I know it's not
> obvious how to improve on that.
>
> In helpdb.jl, quadgk has a distinctly longer description than most other
> entries. How can I better exploit this "help database" (online)?
>
> Hans Werner
>

Reply via email to