#3401: extend li to work with complex input
---------------------------+------------------------------------------------
Reporter: was | Owner: gfurnish
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.2.1
Component: calculus | Keywords:
Work_issues: | Author: Michael Yurko
Reviewer: Mike Hansen | Merged:
---------------------------+------------------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
Comment:
Overall looks good, but there should be at least one doctest for the new
DeprecationWarnings (I think this was agreed upon somewhere on sage-
devel), and there should also be documentation that this actually fulfills
the ticket - namely, to extend Li to complex input! It certainly does,
but I have no idea if the output is correct (I assume it is):
{{{
sage: Li(1+i)
-0.431252110896297 + 2.05958421419258*I
sage: Li(2+i)
0.366095261900308 + 1.22470693841030*I
sage: Li(2+2*i)
0.875423840014232 + 1.96947430597102*I
sage: Li(-2-2*i)
-0.333825651054542 - 3.94714365810975*I
sage: Li(-8)
-1.74509249432858 + 5.26897573517771*I
sage: Li(-10)
-2.04384864349662 + 5.69678038115052*I
sage: Li(-100)
-15.9214591889007 + 17.3366538615045*I
}}}
Something like that should be added.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3401#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---