[sage-devel] Re: base_ring()

2009-09-03 Thread Jan Groenewald
Hi William On Wed, Sep 02, 2009 at 10:31:01PM -0700, William Stein wrote: Is this the intended behaviour? sage: z=1.+sqrt(-1); print z; z.base_ring() 1.00 + 1.00*I Symbolic Ring sage: z=1.+sqrt(-1.); print z; z.base_ring()

[sage-devel] polynomial substitution

2009-09-03 Thread William Stein
Hi Martin (and Sage-devel), I discovered that polynomial substitution is badly inconsistent between the symbolic ring and multivariate polynomials: sage: R.x,y = QQ[] sage: f = x + 2*y sage: f.subs(x=y,y=x) 3*y sage: var('x,y') sage: f = x + 2*y sage: f.subs(x=y,y=x) 2*x + y See

[sage-devel] Re: base_ring()

2009-09-03 Thread William Stein
2009/9/2 Jan Groenewald j...@aims.ac.za Hi William On Wed, Sep 02, 2009 at 10:31:01PM -0700, William Stein wrote: Is this the intended behaviour? sage: z=1.+sqrt(-1); print z; z.base_ring() 1.00 + 1.00*I Symbolic Ring sage:

[sage-devel] Re: base_ring()

2009-09-03 Thread Jan Groenewald
Hi William On Wed, Sep 02, 2009 at 11:18:40PM -0700, William Stein wrote: If you take any integer (or rational) alpha such that alpha is not a perfect square, and try to compute sqrt(alpha), Sage promotes alpha to the symbolic ring (SR) and takes the square root there. Thus the

[sage-devel] Re: base_ring()

2009-09-03 Thread Dirk
I'm the originator. In fairness to Jan, I must say that I only showed him the code and output with no other comment than that I hoped that the students would not ask me to explain it. I've in the meantime found a way of illustrating the point I meant to make more clearly. sage: z=1.+sqrt(-1)

[sage-devel] Re: base_ring()

2009-09-03 Thread William Stein
2009/9/2 Dirk dirk.lau...@gmail.com I'm the originator. In fairness to Jan, I must say that I only showed him the code and output with no other comment than that I hoped that the students would not ask me to explain it. I've in the meantime found a way of illustrating the point I meant to

[sage-devel] Re: base_ring()

2009-09-03 Thread javier
Hi William, On Sep 3, 8:18 am, William Stein wst...@gmail.com wrote: I am not sure what something like integers with I adjoined is? I guess that means the complex numbers of the fomr a + bI with a, b integers, or Z[I] (the Gaussian Integers). Mathematica prides itself to be able to apply

[sage-devel] Re: base_ring()

2009-09-03 Thread William Stein
2009/9/3 javier vengor...@gmail.com Hi William, On Sep 3, 8:18 am, William Stein wst...@gmail.com wrote: I am not sure what something like integers with I adjoined is? I guess that means the complex numbers of the fomr a + bI with a, b integers, or Z[I] (the Gaussian Integers).

[sage-devel] Re: extension field iterator

2009-09-03 Thread John Cremona
givaro seems to be listing the powers of a multiplcative generator, since that's how givaro represents finite field elements, so it would be much harder (and slower) for it to do otherwise. Personally I'm happy to allow Sage to decide which of the 4 implementations is used depending on the

[sage-devel] Re: polynomial substitution

2009-09-03 Thread Michael Brickenstein
I forwarded it to our team list. I suppose, that your homomorphism uses Singulars map internally. That should be a good solution for more than two parallel substitutions. Michael On 3 Sep., 08:18, William Stein wst...@gmail.com wrote: Hi Martin (and Sage-devel), I discovered that polynomial

[sage-devel] Re: base_ring()

2009-09-03 Thread javier
On Sep 3, 9:36 am, William Stein wst...@gmail.com wrote: Sage has the Gaussian integers, and I'm sure the basic arithmetic and functionality is as good or better than Mathematica already. Sure, what I meant (sorry if I wasn't very clear) is to make an straightforward way to access it, kind of

[sage-devel] Re: polynomial substitution

2009-09-03 Thread Martin Albrecht
On Thursday 03 September 2009, William Stein wrote: Hi Martin (and Sage-devel), I discovered that polynomial substitution is badly inconsistent between the symbolic ring and multivariate polynomials: sage: R.x,y = QQ[] sage: f = x + 2*y sage: f.subs(x=y,y=x) 3*y sage: var('x,y') sage:

[sage-devel] Re: base_ring()

2009-09-03 Thread John Cremona
2009/9/3 javier vengor...@gmail.com: On Sep 3, 9:36 am, William Stein wst...@gmail.com wrote: Sage has the Gaussian integers, and I'm sure the basic arithmetic and functionality is as good or better than Mathematica already. Sure, what I meant (sorry if I wasn't very clear) is to make an

[sage-devel] Re: Fwd: Conference/workshop on Industrial Applications and Prospects of Computer Algebra

2009-09-03 Thread Martin Albrecht
So, does anyone around here want to give a talk or an exhibition or something at this conference by the Fachgruppe Computeralgebra in Germany? I think a quick 'I might be interested' would suffice. I can also ask for more details if that is what is required. Cheers, Martin -- name: Martin

[sage-devel] Re: [fricas-devel] Re: Aldor interface

2009-09-03 Thread Ralf Hemmecke
But after including '-lm' it fails again with the following error: Bill, could you send me the exact list of commands to arrive at this error. Maybe you even have the full log of this 'make'. Are you sure that you have the files lang.as etc. from the Aldor.org server? Actually these files

[sage-devel] Re: Fwd: Conference/workshop on Industrial Applications and Prospects of Computer Algebra

2009-09-03 Thread Serge A. Salamanka
I might be interested. But I don't feel I can talk to industrials about Sage yet. #Serge Martin Albrecht пишет: So, does anyone around here want to give a talk or an exhibition or something at this conference by the Fachgruppe Computeralgebra in Germany? I think a quick 'I might be

[sage-devel] Re: [fricas-devel] Re: Aldor interface

2009-09-03 Thread Bill Page
Ralf, I am sorry, I don't the logs to send but if you have any problems with the instructions below, then I can reproduce and send them later. Assuming that you already have Aldor and Sage installed, the commends: $ cd ~/sage-4.1.1 $ wget

[sage-devel] Re: Fwd: Conference/workshop on Industrial Applications and Prospects of Computer Algebra

2009-09-03 Thread Harald Schilly
On Sep 3, 10:50 am, Martin Albrecht m...@informatik.uni-bremen.de wrote: So, does anyone around here want to give a talk or an exhibition or something... I'm interested. This might be useful for Sage in several ways: New contacts in Germany (roughly #2 in the stats), improve our skills of

[sage-devel] Re: base_ring()

2009-09-03 Thread kcrisman
is this not just a curiosity?  Maybe a useful one for teaching, though, and implementing this would certainly be possible. Very useful. I had to resort to some annoying crutches (i.e., using the theorem in the code instead of discovering the theorem via the demonstration of the code) to do

[sage-devel] Re: base_ring()

2009-09-03 Thread John H Palmieri
On Sep 3, 12:36 am, William Stein wst...@gmail.com wrote: Sage has the Gaussian integers, and I'm sure the basic arithmetic and functionality is as good or better than Mathematica already. sage: R.I = ZZ[sqrt(-1)]; R Order in Number Field in I with defining polynomial x^2 + 1 Okay, this

[sage-devel] Re: base_ring()

2009-09-03 Thread William Stein
On Thu, Sep 3, 2009 at 9:15 AM, John H Palmieri jhpalmier...@gmail.comwrote: On Sep 3, 12:36 am, William Stein wst...@gmail.com wrote: Sage has the Gaussian integers, and I'm sure the basic arithmetic and functionality is as good or better than Mathematica already. sage: R.I =

[sage-devel] Re: base_ring()

2009-09-03 Thread John Cremona
2009/9/3 John H Palmieri jhpalmier...@gmail.com: On Sep 3, 12:36 am, William Stein wst...@gmail.com wrote: Sage has the Gaussian integers, and I'm sure the basic arithmetic and functionality is as good or better than Mathematica already. sage: R.I = ZZ[sqrt(-1)]; R Order in Number Field

[sage-devel] symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread William Stein
Hi Sage-Devel, What do you think of this: sage: var('x, i') sage: solve(x^2 + i == 0, x) [x == -sqrt(-I), x == sqrt(-I)] Basically, I make a purely symbolic variable which I happen to call i, and it gets treated somewhere (presumably in Maxima) as if it were sqrt(-1). Here is another instance

[sage-devel] back ticks versus $ signs

2009-09-03 Thread William Stein
Hi, I've been spending the last few days going between writing a lot of code with very math heavy Sphinx docstrings containing many backticks, and writing LaTeX documents (papers/notes/etc.) using $ signs for math mode. It is driving me totally crazy! I constantly accidentally put $'s in my

[sage-devel] Re: List of doctest failures in current Mandriva sagemath

2009-09-03 Thread Paulo César Pereira de Andrade
2009/9/2 Martin Albrecht m...@informatik.uni-bremen.de: doc/en/constructions/rings.rst +58    sage: R = singular.ring(97, '(a,b,c,d)', 'lp')    sage: I = singular.ideal(['a+b+c+d', 'ab+ad+bc+cd', 'abc+abd+acd+bcd', 'abcd-1'])    sage: R Expected:    //   characteristic : 97    //

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Tom Boothby
On Thu, Sep 3, 2009 at 12:09 PM, William Steinwst...@gmail.com wrote: Hi, I've been spending the last few days going between writing a lot of code with very math heavy Sphinx docstrings containing many backticks, and writing LaTeX documents (papers/notes/etc.) using $ signs for math mode.  

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Ondrej Certik
On Thu, Sep 3, 2009 at 12:09 PM, William Steinwst...@gmail.com wrote: Hi, I've been spending the last few days going between writing a lot of code with very math heavy Sphinx docstrings containing many backticks, and writing LaTeX documents (papers/notes/etc.) using $ signs for math mode.  

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Robert Bradshaw
On Thu, 3 Sep 2009, William Stein wrote: Hi, I've been spending the last few days going between writing a lot of code with very math heavy Sphinx docstrings containing many backticks, and writing LaTeX documents (papers/notes/etc.) using $ signs for math mode. It is driving me totally

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread William A. Stein
On Sep 3, 2009, at 12:28 PM, Ondrej Certik wrote: On Thu, Sep 3, 2009 at 12:09 PM, William Steinwst...@gmail.com wrote: Hi, I've been spending the last few days going between writing a lot of code with very math heavy Sphinx docstrings containing many backticks, and writing LaTeX

[sage-devel] Re: Fwd: Conference/workshop on Industrial Applications and Prospects of Computer Algebra

2009-09-03 Thread Martin Albrecht
I'm interested. This might be useful for Sage in several ways: New contacts in Germany (roughly #2 in the stats), improve our skills of communicating Sage: http://groups.google.com/group/sage-marketing (poster, fact sheet, stickers, etc.) and it's an additional selling point for Sage to be

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread kcrisman
On Sep 3, 2:28 pm, William Stein wst...@gmail.com wrote: Hi Sage-Devel, What do you think of this: sage: var('x, i') sage: solve(x^2 + i == 0, x) [x == -sqrt(-I), x == sqrt(-I)] Basically, I make a purely symbolic variable which I happen to call i, and it gets treated somewhere

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread William A. Stein
On Sep 3, 2009, at 12:49 PM, kcrisman wrote: On Sep 3, 2:28 pm, William Stein wst...@gmail.com wrote: Hi Sage-Devel, What do you think of this: sage: var('x, i') sage: solve(x^2 + i == 0, x) [x == -sqrt(-I), x == sqrt(-I)] Basically, I make a purely symbolic variable which I happen

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread Jason Grout
William Stein wrote: Hi Sage-Devel, What do you think of this: I think you are right that this is a huge bug in our interface to maxima. Jason -- Jason Grout --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread John Cremona
I believe that people rather than abstractions should take priority. We are used to using $...$ for maths, so why should we not make the docs markup system we use adapt to us rather than the other way round? I find the view 'let's keep ReST/Sphinx in Sage pure ' very hard to understand!

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Rob Beezer
On Sep 3, 1:22 pm, John Cremona john.crem...@gmail.com wrote: I have never used Ondrej's :math: in front, but maybe I should have. I recall seeing somewhere that in ReST/Sphinx you can configure a default mode for the backticks, so I think Ondrej is writing docs for one his other systems and he

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Nick Alexander
[X] Yes, give me $'s! [ ] No, this doesn't bug me; let's keep ReST/Sphinx in Sage pure. I've been annoyed by this ever since we switched over to ReST. I also have been annoyed by this. Nick --~--~-~--~~~---~--~~ To post to this group, send an email to

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Tom Boothby
On Thu, Sep 3, 2009 at 1:22 PM, John Cremonajohn.crem...@gmail.com wrote: I believe that people rather than abstractions should take priority. We are used to using $...$ for maths, so why should we not make the docs markup system we use adapt to us rather than the other way round?  I find

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread John H Palmieri
On Sep 3, 1:40 pm, Rob Beezer goo...@beezer.cotse.net wrote: On Sep 3, 1:22 pm, John Cremona john.crem...@gmail.com wrote: I have never used Ondrej's :math: in front, but maybe I should have. I recall seeing somewhere that in ReST/Sphinx you can configure a default mode for the backticks,

[sage-devel] Organizing Sage worksheets: tags or categories?

2009-09-03 Thread Brian Granger
Hi, Is there any way of organizing worksheets on a Sage notebook server? If you have many worksheets, it can be difficult to find them and it would be nice to be able to organize them using tags, categories or folders. One example of this would be if wanted to write a chapter based book using

[sage-devel] Re: Organizing Sage worksheets: tags or categories?

2009-09-03 Thread William A. Stein
On Sep 3, 2009, at 2:17 PM, Brian Granger wrote: Hi, Is there any way of organizing worksheets on a Sage notebook server? If you have many worksheets, it can be difficult to find them and it would be nice to be able to organize them using tags, categories or folders. One example of

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread David Roe
[X] Yes, give me $'s! [ ] No, this doesn't bug me; let's keep ReST/Sphinx in Sage pure. David --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: [fricas-devel] Re: Aldor interface

2009-09-03 Thread Ralf Hemmecke
Hi Bill, On 09/03/2009 02:48 PM, Bill Page wrote: Ralf, I am sorry, I don't the logs to send but if you have any problems with the instructions below, then I can reproduce and send them later. Assuming that you already have Aldor and Sage installed, the commends: $ cd ~/sage-4.1.1 $

[sage-devel] Re: Aldor interface

2009-09-03 Thread Nils Bruin
On Sep 3, 2:32 pm, Ralf Hemmecke r...@hemmecke.de wrote: That seems to extract and then starts doing something, but without success. I have sage 4.1. Do I really need 4.1.1? Is it relevant whether or not I run on a 32bit system? I don't have ecl on my system. Shouldn't the fricas spkg just

[sage-devel] Re: [fricas-devel] Re: Aldor interface

2009-09-03 Thread Bill Page
Ralf, On Thu, Sep 3, 2009 at 5:32 PM, Ralf Hemmecke wrote: On 09/03/2009 02:48 PM, Bill Page wrote: I am sorry, I don't the logs to send but if you have any problems with the instructions below, then I can reproduce and send them later. Assuming that you already have Aldor and Sage

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread gsw
and it bugs me that I have to type :math:`\eta` instead of just $\eta$. So how about submitting a patch to sphinx fixing it? +1 Cheers, Georg Ondrej --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread John H Palmieri
On Sep 3, 12:37 pm, William A. Stein wst...@gmail.com wrote: On Sep 3, 2009, at 12:28 PM, Ondrej Certik wrote: So how about submitting a patch to sphinx   fixing it? Ondrej That's a good idea.  It would certainly be better than having to   change Sage -- it would keep things pure, but

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread William Stein
2009/9/3 Golam Mortuza Hossain gmhoss...@gmail.com: Hi, On Thu, Sep 3, 2009 at 5:00 PM, William A. Steinwst...@gmail.com wrote: sage: var('i') i sage: a = i^2 sage: a.simplify_full() -1 I think my email must have not been clear.  I think it's an instance of a *HUGE BUG* in Sage.  No

[sage-devel] Re: Organizing Sage worksheets: tags or categories?

2009-09-03 Thread William Stein
2009/9/3 Brian Granger ellisonbg@gmail.com: Is there any way of organizing worksheets on a Sage notebook server?  If you have many worksheets, it can be difficult to find them and it would be nice to be able to organize them using tags, categories or folders.  One example of this

[sage-devel] Re: Organizing Sage worksheets: tags or categories?

2009-09-03 Thread Brian Granger
Is there any way of organizing worksheets on a Sage notebook server? If you have many worksheets, it can be difficult to find them and it would be nice to be able to organize them using tags, categories or folders. One example of this would be if wanted to write a chapter based book

[sage-devel] Re: Organizing Sage worksheets: tags or categories?

2009-09-03 Thread Pat LeSmithe
William Stein wrote: Here's my scraps of notes related to notebook work for Oct - Dec, by the way: http://sage.math.washington.edu/home/wstein/tmp/sageuse/ Assuming it's OK, I've started to organize / summarize ideas.txt at http://wiki.sagemath.org/SageUsability Please feel free to amend,

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread Jason Grout
John H Palmieri wrote: On Sep 3, 12:37 pm, William A. Stein wst...@gmail.com wrote: On Sep 3, 2009, at 12:28 PM, Ondrej Certik wrote: So how about submitting a patch to sphinx fixing it? Ondrej That's a good idea. It would certainly be better than having to change Sage -- it would

[sage-devel] Re: back ticks versus $ signs

2009-09-03 Thread John H Palmieri
On Sep 3, 5:54 pm, Jason Grout jason-s...@creativetrax.com wrote: John H Palmieri wrote: On Sep 3, 12:37 pm, William A. Stein wst...@gmail.com wrote: On Sep 3, 2009, at 12:28 PM, Ondrej Certik wrote: So how about submitting a patch to sphinx   fixing it? Ondrej That's a good idea.  

[sage-devel] searching google groups

2009-09-03 Thread Jason Grout
Every time (that I can remember) that I've tried searching google groups online for a post, I've given up in frustration and gone back to searching in thunderbird (I follow sage-devel from gmane). Just now, I tried to find a specific thread. When keywords didn't work, I quickly found the

[sage-devel] Re: searching google groups

2009-09-03 Thread John H Palmieri
On Sep 3, 7:12 pm, Jason Grout jason-s...@creativetrax.com wrote: Every time (that I can remember) that I've tried searching google groups online for a post, I've given up in frustration and gone back to searching in thunderbird (I follow sage-devel from gmane).  Just now, I tried to find a

[sage-devel] Sage 4.1.2.alpha0 released

2009-09-03 Thread Minh Nguyen
Hi folks, This is the first alpha release of Sage 4.1.2. Source and the sage.math binary are available at http://sage.math.washington.edu/home/mvngu/release/upgrade/sage-4.1.2.alpha0.tar

[sage-devel] Re: Organizing Sage worksheets: tags or categories?

2009-09-03 Thread William Stein
2009/9/3 Pat LeSmithe qed...@gmail.com: William Stein wrote: Here's my scraps of notes related to notebook work for Oct - Dec, by the way: http://sage.math.washington.edu/home/wstein/tmp/sageuse/ Assuming it's OK, I've started to organize / summarize ideas.txt at

[sage-devel] Re: searching google groups

2009-09-03 Thread William Stein
On Thu, Sep 3, 2009 at 7:12 PM, Jason Groutjason-s...@creativetrax.com wrote: Every time (that I can remember) that I've tried searching google groups online for a post, I've given up in frustration and gone back to searching in thunderbird (I follow sage-devel from gmane).  Just now, I

[sage-devel] Embedded SVG editor in the notebook?

2009-09-03 Thread Pat LeSmithe
I noticed SVG-edit, a Scalable Vector Graphics (SVG) editor that works entirely in capable browsers [1]: http://code.google.com/p/svg-edit/ Stable and beta demos: http://svg-edit.googlecode.com/svn/tags/stable/editor/svg-editor.html

[sage-devel] Re: Embedded SVG editor in the notebook?

2009-09-03 Thread William A. Stein
On Sep 3, 2009, at 10:17 PM, Pat LeSmithe wrote: I noticed SVG-edit, a Scalable Vector Graphics (SVG) editor that works entirely in capable browsers [1]: http://code.google.com/p/svg-edit/ Stable and beta demos: http://svg-edit.googlecode.com/svn/tags/stable/editor/svg-editor.html

[sage-devel] Re: Sage 4.1.2.alpha0 released

2009-09-03 Thread Minh Nguyen
On Fri, Sep 4, 2009 at 1:05 PM, Minh Nguyennguyenmi...@gmail.com wrote: Hi folks, This is the first alpha release of Sage 4.1.2. Source and the sage.math binary are available at http://sage.math.washington.edu/home/mvngu/release/upgrade/sage-4.1.2.alpha0.tar