#10075: Make log gamma symbolic
-----------------------------------+----------------------------------------
Reporter: kcrisman | Owner: burcin
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: symbolics | Keywords: sd35.5
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Karen T. Kohl
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* reviewer: => Karl-Dieter Crisman
Comment:
Ok, here we go.
{{{
sage: log_gamma(-21/10).n()
NaN
sage: get_systems('log_gamma(-21/10).n()')
['ginac']
}}}
So both give `NaN`, but we end up using `RR.log_gamma()` as in the
`GinacFunction` code.
{{{
sage: log_gamma(-31/10).n()
0.400311696703985
sage: log_gamma(-3.1)
0.400311696703985
sage: a = RR(5)
sage: a.log_gamma()
3.17805383034795
}}}
I don't see anything holding this up except cosmetics. I'll try to make a
refreshed patch momentarily.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10075#comment:11>
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.