Mike, thanks for the code. This is just what I need and works well
from the command line. However, I'm a bit of a SAGE and linux newbie
and I'm unsure about the best way of integrating this with SAGE. I
checked the programming guide, but I only have some basic Python
experience and have never done anything with C++ before. If it
matters, I'm using Ubuntu 8.04 and have SAGE 3.0.2.

On Jun 8, 11:15 pm, Michael <[EMAIL PROTECTED]> wrote:
> 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