[sage-support] __rmul__ for cdef'd class; how to avoid coercion?

2008-06-17 Thread Simon King
Dear all, i just found that there is a difference how the __rmul__ method works for usual classes and for cdefined classes. A short example (yes, usually i don't want that __mul__ changes self...): cdef class MulC: cdef object r def __init__(self,r): self.r = r def

[sage-support] Re: Why so slow?

2008-06-17 Thread fwc
I think the main problem is the use of a recursively defined Hermite polynomial rather than the SAGE function hermite defined in functions/orthogonal_polys.py (which uses maxima). Writing h(n,y) for your hermite(n,y), then phi1 for the function which uses h, and phi for the function which uses

[sage-support] Re: __rmul__ for cdef'd class; how to avoid coercion?

2008-06-17 Thread Simon King
Dear Robert, On Jun 17, 11:16 am, Robert Bradshaw [EMAIL PROTECTED] wrote: That is true. You might want to take a look at http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/ special_methods.html Thank you! That was very helpful and has solved my problem! Yours

[sage-support] Can't build SAGE on RHEL4 64bit

2008-06-17 Thread just_a_user
Hi All, I've tried to build sage 2.11 and 3.0.2 on a linux cluster, Opteron 2212 and 8212 chips (rev F) [EMAIL PROTECTED] sage-2.11]# uname -a Linux abacus.bw01.math.umass.edu 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux After typing make, things go for

[sage-support] Re: Sage + Eclipse + PyDev

2008-06-17 Thread Emerson
Hello Michael. I've tried that, but unfortunately, it still didn't work. I found a way of making it work, even though I'm not sure if it's the proper way of doing it. Basically, on Eclipse, I create a new Run Configuration that runs sage with the arguments -python and the path to your main

[sage-support] Re: Can't build SAGE on RHEL4 64bit

2008-06-17 Thread mabshoff
On Jun 17, 8:01 am, just_a_user [EMAIL PROTECTED] wrote: Hi All, Hi Hans, I've tried to build sage 2.11 and 3.0.2 on a linux cluster, Opteron 2212 and 8212 chips (rev F) [EMAIL PROTECTED] sage-2.11]# uname -a Linux abacus.bw01.math.umass.edu 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25

[sage-support] Re: Can't build SAGE on RHEL4 64bit

2008-06-17 Thread just_a_user
Hi Michael, Thanks for the reply! I've put a zipped version of install.log on my webpage, last link on the left: www.math.umass.edu/~johnston If there is anything else you or the 'community' needs let me know. - Hans On Jun 17, 12:57 pm, mabshoff [EMAIL PROTECTED]

[sage-support] Page Load Error in Firefox, Using VMWare under Windows Vista

2008-06-17 Thread ronaldlesterbrooks
Sage Gurus, Please help, I have had Sage up and running in a Windows Vista machine using VMWare player. I have opened and closed it several times. Now I get this message: Connection Interrupted The connection to the server was reset while the page was loading. The network link was interrupted

[sage-support] Re: Sage: Windows Vista Version?

2008-06-17 Thread William Stein
On Tue, Jun 17, 2008 at 9:46 AM, Othalian [EMAIL PROTECTED] wrote: Hi, I have just discovered Sage and wondered if you will be providing a Windows Vista version in the future which links to Microsoft Windows. I know and have downloaded the VMWare version but I can't see this as your final