#4432: [with patch, needs work] symbolic gamma and factorial
-------------------------+--------------------------------------------------
Reporter: whuss | Owner: whuss
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.2.1
Component: calculus | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by mabshoff):
* summary: [with patch, positive review] symbolic gamma and factorial =>
[with patch, needs work] symbolic gamma and
factorial
Comment:
There are two doctest failures with this patch:
{{{
sage -t -long devel/sage/sage/rings/arith.py
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/arith.py", line 3011:
sage: falling_factorial(1+I, I)
Expected:
0.652965496420167 + 0.343065839816545*I
Got:
gamma(I + 2)
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/arith.py", line 3074:
sage: rising_factorial(1+I, I)
Expected:
0.266816390637832 + 0.122783354006372*I
Got:
gamma(2*I + 1)/gamma(I + 1)
**********************************************************************
}}}
Sounds like this will be easy to fix. I would also like to see if there
are any performance regressions with this patch.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4432#comment:9>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---