#11143: define symbolic functions for exponential integrals
-----------------------------+----------------------------------------------
Reporter: kcrisman | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.1
Component: symbolics | Keywords: ei Ei special function maxima
Work_issues: | Upstream: N/A
Reviewer: Burcin Erocal | Author: Benjamin Jones
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Comment(by benjaminfjones):
Thanks for the feedback, Burcin! I feel like I'm developing an
understanding for how symbolic functions are handled in Sage now.
To your suggestions:
* I agree, the changed the name of the class to `Function_exp_integral_e`
and the global function name to `exp_integral_e`. I think it would make
sense as part of this ticket to add an alias of `exp_integral_1` for the
existing `exponential_integral_1` to be consistent.
* Good point, I didn't think of that.
* The function now correctly coerces the two arguments to the same
parent. I also added automatic evaluation of some special cases (n=0 or
z=0) as in the `gamma_inc` function.
* I played around with removing the prec argument, but didn't get the
results I expected. I found that passing the parent explicitly works. The
common parent is determined in _eval_ (as in the `gamma_inc` function).
* Done.
* Done.
Let me know what you think. Once we've agreed on a good template for this
one function, I will implement the rest of the exponential integral
functions that are now listed on the wiki and upload to this ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11143#comment:13>
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.