Hello,
the documentation says
? expintegral_li
-- Function: expintegral_li (<n>,<z>)
The Exponential Integral Li(z) (A&S 5.1.3)
however the function takes only one argument:
expintegral_li(1,3.0);
Wrong number of arguments to expintegral_li
-- an error. To debug this try: debugmode(true);
So likely the documentation needs to be corrected.
Actually, it would be good if there was a second argument, which
likely would enable to compute
integral_0^x 1/log(t)^n dt
How to compute this with the given functions?
One can use integrate, but only when starting the integration at,
say, 2, while it apparently can't handle the improper integration.
Finally, adding a short specification to the functions expintegral_xx
would be useful.
Oliver