Re: [sage-support] Re: bug: derivatives as dictionary keys

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 7:45 PM, Alex Raichev wrote: > Thanks for the workaround, William.  I was thinking the same thing as > a temporary fix but am having difficulties with that approach. > > Here's my situation.  I have a big symbolic expression E involving > lots of derivatives.  I want to sub

[sage-support] Re: gcd bug?

2009-11-19 Thread John H Palmieri
On Nov 19, 9:44 pm, Rolandb wrote: > Hi. Look at: > > R.=QQ[] > expr=(A,B) > (a,b)=sorted([abs(expr[n]([2,16])) for n in [0,1]]) > print a,b,a.gcd(b) > > I got: 2 16 1 > I expected: 2 16 2 > > Reason? Because a and b are rational numbers here: they're elements of QQ. Type a.gcd? and hit return;

[sage-support] gcd bug?

2009-11-19 Thread Rolandb
Hi. Look at: R.=QQ[] expr=(A,B) (a,b)=sorted([abs(expr[n]([2,16])) for n in [0,1]]) print a,b,a.gcd(b) I got: 2 16 1 I expected: 2 16 2 Reason? Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@g

[sage-support] Re: bug: derivatives as dictionary keys

2009-11-19 Thread Alex Raichev
Thanks for the workaround, William. I was thinking the same thing as a temporary fix but am having difficulties with that approach. Here's my situation. I have a big symbolic expression E involving lots of derivatives. I want to substitute the derivatives with other symbolic expressions, and th

Re: [sage-support] Can't run Cython's hello world example

2009-11-19 Thread Robert Bradshaw
On Nov 19, 2009, at 1:57 PM, Jorge E. ´Sanchez Sanchez wrote: > Hi dear sage-support group: > >I was working a Differential equations problem with few elements > in some regular 3D-mesh which needed not too much calculations but I > am upgrading it to a bigger system. Then I shall need to

Re: [sage-support] bug: derivatives as dictionary keys

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 6:08 PM, Alex Raichev wrote: > Hi all: > > Related to http://trac.sagemath.org/sage_trac/ticket/6243, it appears > that using derivatives of callable symbolic functions as dictionary > keys is broken in Sage 4.2.1.  See below.  It works for functions of > one and two variab

[sage-support] bug: derivatives as dictionary keys

2009-11-19 Thread Alex Raichev
Hi all: Related to http://trac.sagemath.org/sage_trac/ticket/6243, it appears that using derivatives of callable symbolic functions as dictionary keys is broken in Sage 4.2.1. See below. It works for functions of one and two variables but not three. Alex ---

[sage-support] forgetting assumptions

2009-11-19 Thread Mike Witt
Is there a problem forgetting assumptions. Or do I not understand how this is supposed to work ... [m...@puddleglum ~]$ sage -- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI,

Re: [sage-support] problem with sage -upgrade

2009-11-19 Thread Minh Nguyen
Hi Stan, On Thu, Nov 19, 2009 at 9:31 PM, Stan Schymanski wrote: > Dear all, > > I compiled sage 4.2 from source on my Macbook Pro with OSX 10.4.11 and > when I tried sage -upgrade, I was asked to enter a commit message. I > aborted (by typing :q) and the upgrade is continuing now, but this > doe

Re: [sage-support] Re: Need help in starting a sage server

2009-11-19 Thread Dr. David Kirkby
John Cremona wrote: > I installed certtool on the system using apt-get install gnutls-bin. > Then running certtool by itself worked fine, but running notebook(...) > from within sage still hung. > > So I moved aside sage's certtool and copied the system /usr/bin/ > certtool into sage's local/bin d

[sage-support] Can't run Cython's hello world example

2009-11-19 Thread Jorge E . ´Sanchez Sanchez
Hi dear sage-support group: I was working a Differential equations problem with few elements in some regular 3D-mesh which needed not too much calculations but I am upgrading it to a bigger system. Then I shall need to do some calculations using cython, so my first task is to buil

[sage-support] Sage Survey 2009

2009-11-19 Thread Harald Schilly
Hello Sage Community! Last fall I made a survey about Sage. It gave us some insight about who is using Sage, Sage's weak points and strength and also new project ideas. This year I want to repeat it. Everyone - just interested people and regular users - are invited to take it. Help us to make Sage

[sage-support] Re: Need help in starting a sage server

2009-11-19 Thread John Cremona
I installed certtool on the system using apt-get install gnutls-bin. Then running certtool by itself worked fine, but running notebook(...) from within sage still hung. So I moved aside sage's certtool and copied the system /usr/bin/ certtool into sage's local/bin directory. The same happened aga

Re: [sage-support] Re: Need help in starting a sage server

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 3:33 AM, John Cremona wrote: > I am having exactly the same problem as the original poster.  The > machine runs 64-bit ubuntu (Linux version 2.6.28-13-generic > (bui...@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #44- > Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009) > > I

[sage-support] Re: Need help in starting a sage server

2009-11-19 Thread John Cremona
I am having exactly the same problem as the original poster. The machine runs 64-bit ubuntu (Linux version 2.6.28-13-generic (bui...@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #44- Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009) I don't have certtool installed on the machine (except the Sage ve

[sage-support] problem with sage -upgrade

2009-11-19 Thread Stan Schymanski
Dear all, I compiled sage 4.2 from source on my Macbook Pro with OSX 10.4.11 and when I tried sage -upgrade, I was asked to enter a commit message. I aborted (by typing :q) and the upgrade is continuing now, but this does not seem normal. Did anyone else experience something similar? Thanks for y