My package has routines for the incomplete gamma function, and the
logarithmic
integral is a special case of that. For the incomplete gamma function
I use a
combination of series, asumptotics, and continued fractions.  The
relevant file
is Lgamma.h in the include directory of my L-function package:
http://pmmac03.math.uwaterloo.ca/~mrubinst/L_function_public/CODE/

Mike

On Jun 7, 4:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sat, Jun 7, 2008 at 12:54 PM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
> > Is there any way for SAGE to calculate Li(x) (logarithmic integral)
> > for complex inputs?
>
> I don't think that functionality is directly exposed in Sage in any easy
> to use way.  I've cc'd Mike Rubinstein who has probably written fast
> C++ code (that is included with sage) in hopes that he will have a comment
> to make.
>
> William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to