[sage-devel] canonicalize or evaluate

2008-04-13 Thread Ondrej Certik
Hi, yesterday on IRC I realized I don't understand these terms. :) x + x -> 2*x is this evaluation? x +y, vs. y+x ... is this canonicalization? Is this how everyone understands these terms? If so, we need to fix SymPy all over. :) Also I was mistaking canonize and canonicalize:

[sage-devel] Re: Is this a bug?

2008-04-13 Thread William Stein
On Sun, Apr 13, 2008 at 9:37 PM, <[EMAIL PROTECTED]> wrote: > > sage: Q. = QQ['x,y'] > sage: R. = Q.quo(Q.ideal(x^2 + y^2 -1)) > sage: X/2 > --- > Traceback (most recent call last) > > /home/boothby/.sage/ in () > >

[sage-devel] Is this a bug?

2008-04-13 Thread boothby
sage: Q. = QQ['x,y'] sage: R. = Q.quo(Q.ideal(x^2 + y^2 -1)) sage: X/2 --- Traceback (most recent call last) /home/boothby/.sage/ in () /home/boothby/.sage/element.pyx in sage.structure.element.RingElement.__div__ (sage/

[sage-devel] Re: integers beginning with zero

2008-04-13 Thread William Stein
On Sun, Apr 13, 2008 at 1:20 PM, David Roe <[EMAIL PROTECTED]> wrote: > > On the other hand, using a leading zero to indicate octal is a fairly > standard convention in computer science. And it's nice to minimize > these kinds of differences between Python ints and Sage Integers. > David > +

[sage-devel] Re: integers beginning with zero

2008-04-13 Thread David Roe
On the other hand, using a leading zero to indicate octal is a fairly standard convention in computer science. And it's nice to minimize these kinds of differences between Python ints and Sage Integers. David On Sun, Apr 13, 2008 at 3:36 PM, Harald Schilly <[EMAIL PROTECTED]> wrote: > > On Apr

[sage-devel] Re: Preliminary Sage Days Announcements

2008-04-13 Thread William Stein
On Sun, Apr 13, 2008 at 5:51 AM, Kiran Kedlaya <[EMAIL PROTECTED]> wrote: > > The Joint Meetings are themselves fairly early (Jan 5-8). Does "fairly > early in January" mean before or after that? Before might be awkward > because of the New Year's holiday. I was thinking of after the join meet

[sage-devel] Re: integers beginning with zero

2008-04-13 Thread Harald Schilly
On Apr 13, 9:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > the other option -- changing > Python -- is not an option. > I know, but my "picture" is a high-school teacher explaining that leading zeros don't matter, and when someone tries it in sage, it suddenly matters. So, imho, there is so

[sage-devel] Re: integers beginning with zero

2008-04-13 Thread William Stein
On Sun, Apr 13, 2008 at 12:22 PM, Carl Witty <[EMAIL PROTECTED]> wrote: > > On Apr 13, 12:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > Unfortunately, half of the behavior above isn't defined by "a > > mathematical software" but by the Python general purpose programming > > language.

[sage-devel] Re: integers beginning with zero

2008-04-13 Thread Carl Witty
On Apr 13, 12:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Unfortunately, half of the behavior above isn't defined by "a > mathematical software" but by the Python general purpose programming > language. Sage has to be > changed to be consistent with Python, since the other option -- chang

[sage-devel] Re: integers beginning with zero

2008-04-13 Thread William Stein
On Sun, Apr 13, 2008 at 9:03 AM, Harald Schilly <[EMAIL PROTECTED]> wrote: > > Hi > > When entering integers beginning with zeros in Sage, they are > interpreted octal. I'm aware of #2863 which documents the behaviour of > Integer, but that's still somewhat inconsistent when parsing strings >

[sage-devel] Re: Giac/Xcas? (was Re: multivariate factoring - use maxima ?)

2008-04-13 Thread William Stein
On Sun, Apr 13, 2008 at 9:23 AM, parisse <[EMAIL PROTECTED]> wrote: > Hi! > > I have a couple of questions about Giac/XCas and also you. They are all > over > > the map. Answer what you want and ignore the other questions. > > > > 1. Is this the public svn development server for Giac/Xcas?

[sage-devel] Noncanonical coercion (finite fields)

2008-04-13 Thread Kiran Kedlaya
Any opinions about what sage: F9. = GF(9); F81. = GF(81); F81(a) should return? There is no canonical answer, so it may be better to throw an exception rather than pick one of the two correct answers. But any of these would be better than the current behavior, which is to return 0. Kiran --~-

[sage-devel] Re: Giac/Xcas? (was Re: multivariate factoring - use maxima ?)

2008-04-13 Thread parisse
Hi! > I have a couple of questions about Giac/XCas and also you. They are all over > the map. Answer what you want and ignore the other questions. > > 1. Is this the public svn development server for Giac/Xcas? > > http://xcas.svn.sourceforge.net/viewvc/xcas/ > Yes. But it is currently used

[sage-devel] Re: multivariate factoring - use maxima ?

2008-04-13 Thread parisse
> > This is the developer doc I plan to write someday, but it is currently > > not a main priority. > > Sure, I understand that and since it is your time it is your call how > you allocate your resources. But it would make it much easier for us > to wrap the library if documentation existed. > Th

[sage-devel] integers beginning with zero

2008-04-13 Thread Harald Schilly
Hi When entering integers beginning with zeros in Sage, they are interpreted octal. I'm aware of #2863 which documents the behaviour of Integer, but that's still somewhat inconsistent when parsing strings and annoys me a bit. sage: int('070') 70 sage: int(070) 56 sage: Integer('070') 56 sage: In

[sage-devel] Re: Preliminary Sage Days Announcements

2008-04-13 Thread Kiran Kedlaya
The Joint Meetings are themselves fairly early (Jan 5-8). Does "fairly early in January" mean before or after that? Before might be awkward because of the New Year's holiday. Kiran On Apr 13, 6:51 am, "David Joyner" <[EMAIL PROTECTED]> wrote: > On Sun, Apr 13, 2008 at 2:13 AM, William Stein <[EM

[sage-devel] Re: Preliminary Sage Days Announcements

2008-04-13 Thread David Joyner
On Sun, Apr 13, 2008 at 2:13 AM, William Stein <[EMAIL PROTECTED]> wrote: > > Hello Sage Devel, > > 1. There will be a Sage Days in January 2009 in San Diego, CA. The > exact dates haven't > been determined yet, though it will probably be fairly early in January. AFAIK, there is no word yet

[sage-devel] Giac/Xcas? (was Re: multivariate factoring - use maxima ?)

2008-04-13 Thread William Stein
Hi Bernard, etc.: I have a couple of questions about Giac/XCas and also you. They are all over the map. Answer what you want and ignore the other questions. 1. Is this the public svn development server for Giac/Xcas? http://xcas.svn.sourceforge.net/viewvc/xcas/ 2. Is this the only mailing