Re: [sage-devel] Issue With Implementation of Gamma Function

2014-02-11 Thread William Stein
On Feb 11, 2014 6:57 PM, wrote: > > Dear All, > > I was developing an algorithm that depended on the calculation of the gamma function. I noticed that the algorithm was surprisingly slow. Upon investigation, I realized that the issue lies with the gamma function. To illustrate: > > sage: RR = R

[sage-devel] Issue With Implementation of Gamma Function

2014-02-11 Thread refarr
Dear All, I was developing an algorithm that depended on the calculation of the gamma function. I noticed that the algorithm was surprisingly slow. Upon investigation, I realized that the issue lies with the gamma function. To illustrate: sage: RR = RealField(1000) sage: CC = ComplexField(1