Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non-offset logarithmic integral, Li #7357

Closed
sagetrac-myurko mannequin opened this issue Oct 30, 2009 · 11 comments
Closed

Add non-offset logarithmic integral, Li #7357

sagetrac-myurko mannequin opened this issue Oct 30, 2009 · 11 comments

Comments

@sagetrac-myurko
Copy link
Mannequin

sagetrac-myurko mannequin commented Oct 30, 2009

Add the logarithmic integral, Li, with integration starting at 0 rather than 2.

CC: @sagetrac-myurko @benjaminfjones

Component: calculus

Reviewer: Karl-Dieter Crisman

Issue created by migration from https://trac.sagemath.org/ticket/7357

@sagetrac-myurko sagetrac-myurko mannequin added this to the sage-4.7.2 milestone Oct 30, 2009
@sagetrac-myurko sagetrac-myurko mannequin assigned burcin Oct 30, 2009
@sagetrac-myurko
Copy link
Mannequin Author

sagetrac-myurko mannequin commented Oct 30, 2009

comment:1

Attachment: li(x).patch.gz

@kcrisman
Copy link
Member

comment:2

This is nice, but like #3401, should have some doctests indicating it works for complex input (I assume it does). The patch also depends on #3401.

@kcrisman
Copy link
Member

comment:3

Attachment: non-offset-log-int.patch.gz

This patch adds these tests. It still depends on the (newest) patch at #3401, and in fact gets rid of one final thing which was only needed by the previous implementation of Li.

@kcrisman
Copy link
Member

Author: Michael Yurko

@kcrisman
Copy link
Member

Reviewer: Karl-Dieter Crisman

@burcin
Copy link

burcin commented Jan 18, 2010

comment:5

This needs more work. See my comments about the prec parameter at #3401 comment:10.

Two different functions whose names differ only in capitalization (li and Li) is also very confusing. We need to come up with a better name for this.

@kcrisman
Copy link
Member

kcrisman commented Oct 9, 2011

comment:7

This seems to be addressed in the context of a much bigger overhaul by #11143. But there the name is... more complicated.

@benjaminfjones
Copy link
Contributor

comment:8

Yes, this would duplicate work done in #11143. The function added there is a fully symbolic function with numerical evaluation handled by mpmath. I think that is superior to the one defined here which is just a wrapper for the mpmath call.

The function added in #11143 is really a class called Function_exp_integral_li and it has an alias exp_integral_li to match the other exponential integrals. #11143 also moves all the exponential integrals to a new module under sage/functions so this would conflict with that design decision too.

@kcrisman
Copy link
Member

comment:9

So this can be closed as duplicate, correct? Except I really would love it to be called Li instead of something horribly long... either way, feel free to review this as positive; I'm changing the milestone.

@kcrisman kcrisman removed this from the sage-4.7.2 milestone Oct 10, 2011
@kcrisman
Copy link
Member

comment:10

This is definitely and definitively duplicated by the much more comprehensive #11143.

@kcrisman
Copy link
Member

Changed author from Michael Yurko to none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants