[sage-devel] Re: Quick Question about Cython

2014-01-19 Thread Nils Bruin
On Saturday, January 18, 2014 7:46:07 PM UTC-8, ref...@uncg.edu wrote: > > Before I begin, I'd like to thank you in advance for any help you may give. > > I'm trying to learn cython, and I'd like to use the RealNumber class. I'd > like to take a RealNumber as input, and compute the square of the

[sage-devel] Re: Quick Question about Cython

2014-01-19 Thread refarr
Dear All, I have yet another question. I'm trying to compute many values of the logarithm and store them into memory for future use. Is there any way to get around the initialization of x within the for loop? If I delete that line, then all the values of the loop will be the same... How can