[sage-devel] Re: Fractions with factored denominators

2009-03-10 Thread Martin Rubey
Martin Rubey martin.ru...@math.uni-hannover.de writes: Nicolas M. Thiery nicolas.thi...@u-psud.fr writes: actually, this would be my dream, too! (I think I proposed something like this on fricas-devel already, but I don't remember well.) :-) Please provide a pointer if you find

[sage-devel] Re: Fractions with factored denominators

2009-03-10 Thread Nicolas M. Thiery
For the record, my ring is currently S[t], where S is the ring of symmetric functions in the e basis. You probably are not that surprised about that :-) Is it easy to factor such polynomials? How do you do it? Well, it's a free algebra, so you could always coerce to QQ['e1,e2,...,],

[sage-devel] Re: tutorial: add something about functions vs. expressions, etc.?

2009-03-10 Thread William Stein
On Mon, Mar 9, 2009 at 4:32 PM, John H Palmieri jhpalmier...@gmail.com wrote: It seems like specifying a function for plotting or differentiation is a common point of confusion.  For example, see these threads (and I know there have been others):

[sage-devel] BUG in dumps() or loads() function

2009-03-10 Thread Maurizio
Is anybody interested in looking at this? Thank you very much On 8 Mar, 20:14, Maurizio maurizio.gran...@gmail.com wrote: Hello, I was able to reproduce this in Sage 3.3 var('a b c') first = a + b + c first._operands[0]._operands[0] is a True second = loads(dumps(first))

[sage-devel] Re: tutorial: add something about functions vs. expressions, etc.?

2009-03-10 Thread Michel
Very nice. This something I always found confusing. One thing is not clear to me: why is sin not a callable symbolic expression by default? Is there a coneptional reason for this, or is it performance related? On Mar 10, 8:07 am, William Stein wst...@gmail.com wrote: On Mon, Mar 9, 2009 at 4:32

[sage-devel] Re: BUG in dumps() or loads() function

2009-03-10 Thread Mike Hansen
On Tue, Mar 10, 2009 at 1:57 AM, Maurizio maurizio.gran...@gmail.com wrote: Is anybody interested in looking at this? There is no problem with loads/dumps -- it is something specific to the SymbolicVariable class. In any case, I put a patch up at http://trac.sagemath.org/sage_trac/ticket/5466

[sage-devel] Re: Fwd: Potential Sage Book

2009-03-10 Thread Martin Albrecht
Did anyone every respond to that e-mail by Christina Rudloff? -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: martinralbre...@jabber.ccc.de

[sage-devel] Re: Fwd: Potential Sage Book

2009-03-10 Thread Jason Grout
Martin Albrecht wrote: Did anyone every respond to that e-mail by Christina Rudloff? I didn't get the email, so maybe they weren't just working alphabetically down the developer list or maybe they stopped before they got to G. If no one responded and has already taken up the project, I

[sage-devel] Re: Fwd: Potential Sage Book

2009-03-10 Thread Martin Albrecht
On Tuesday 10 March 2009, Jason Grout wrote: Martin Albrecht wrote: Did anyone every respond to that e-mail by Christina Rudloff? I didn't get the email, so maybe they weren't just working alphabetically down the developer list or maybe they stopped before they got to G. If no one

[sage-devel] Re: Fwd: Potential Sage Book

2009-03-10 Thread Jason Grout
Martin Albrecht wrote: On Tuesday 10 March 2009, Jason Grout wrote: Martin Albrecht wrote: Did anyone every respond to that e-mail by Christina Rudloff? I didn't get the email, so maybe they weren't just working alphabetically down the developer list or maybe they stopped before they got to

[sage-devel] Re: 3d display: x3d?

2009-03-10 Thread Jason Grout
Prabhu Ramachandran wrote: Dear Sage developers, Is it possible to view an x3d file from a sage worksheet (assuming my browser has the necessary plugin or java support for example)? I saw numerous mentions of x3d support in the source code in plot/plot3d. For example if one generates a

[sage-devel] Re: Fwd: Potential Sage Book

2009-03-10 Thread David Joyner
On Tue, Mar 10, 2009 at 6:26 AM, Jason Grout jason-s...@creativetrax.com wrote: Martin Albrecht wrote: Did anyone every respond to that e-mail by Christina Rudloff? I didn't get the email, so maybe they weren't just working alphabetically down the developer list or maybe they stopped

[sage-devel] doc-bug

2009-03-10 Thread Ralf Hemmecke
That doen't sound complete... Here are some , and the following are some notes from it: see... http://www.sagemath.org/doc/prog/node21.html http://sage.math.washington.edu/home/mhansen/sage/devel/sage/doc/output/html/en/developer/coding_in_python.html#sage-preparsing Ralf

[sage-devel] data types and symbolic objects

2009-03-10 Thread alex
If I would like to write an extension (a function for example) for sage, using for example C++ and cython, how can I excange data between my own function and sage ? What data types I have to know ? How can I handle symbolic objects (with their parse threes), and numerical data structures ? How

[sage-devel] element of integermod is element of integer?

2009-03-10 Thread Ralf Hemmecke
Can somebody give me a convincing reason why I see True in the following session? sage: z = ZZ(2) sage: parent(z) Integer Ring sage: q = Mod(2, 7) sage: parent(q) Ring of integers modulo 7 sage: z == q True This is related to...

[sage-devel] Sage Days 14

2009-03-10 Thread William Stein
Here is my talk (which i just gave): http://wstein.org/talks/20090310-msri-sd14/ Materials from other talks will appear linked from here: http://wiki.sagemath.org/days14 EVerything is being professionally videod by MSRI. -- William Stein Associate Professor of Mathematics University

[sage-devel] should cloning copy documentation output?

2009-03-10 Thread John H Palmieri
Is there a good reason why cloning should not copy the 'output' directory in sage/doc? I can think of lots of good reasons why it *should* be copied... --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Re: element of integermod is element of integer?

2009-03-10 Thread Robert Bradshaw
For the same reason that sage: z = ZZ(2) sage: parent(z) Integer Ring sage: q = QQ(2) sage: parent(q) Rational Field sage: z == q True sage: p = ZZ['x'](2) sage: p == z True On Mar 10, 2009, at 11:23 AM, Ralf Hemmecke wrote: Can somebody give me a convincing reason why I see True in the

[sage-devel] Re: element of integermod is element of integer?

2009-03-10 Thread Ralf Hemmecke
And the reason is...? Ralf On 03/10/2009 07:34 PM, Robert Bradshaw wrote: For the same reason that sage: z = ZZ(2) sage: parent(z) Integer Ring sage: q = QQ(2) sage: parent(q) Rational Field sage: z == q True sage: p = ZZ['x'](2) sage: p == z True On Mar 10, 2009, at 11:23

[sage-devel] Re: should cloning copy documentation output?

2009-03-10 Thread mabshoff
On Mar 10, 11:33 am, John H Palmieri jhpalmier...@gmail.com wrote: Is there a good reason why cloning should not copy the 'output' directory in sage/doc? I can think of lots of good reasons why it *should* be copied... It is a bug. Please open a ticket. There was some discussion about this

[sage-devel] Re: element of integermod is element of integer?

2009-03-10 Thread Robert Bradshaw
On Mar 10, 2009, at 11:36 AM, Ralf Hemmecke wrote: And the reason is...? Because it's really inconvenient to always have to manually cast to the same parent. Imagine I have a loop. while a 1: [do stuff to a to make it smaller] Would this fail if a was not an integer. What if it

[sage-devel] Re: should cloning copy documentation output?

2009-03-10 Thread John H Palmieri
On Mar 10, 11:41 am, mabshoff mabsh...@googlemail.com wrote: On Mar 10, 11:33 am, John H Palmieri jhpalmier...@gmail.com wrote: Is there a good reason why cloning should not copy the 'output' directory in sage/doc? I can think of lots of good reasons why it *should* be copied... It is a

[sage-devel] Re: element of integermod is element of integer?

2009-03-10 Thread Georg S. Weber
Hi, the notions parent and element are programmer's notions rather than mathematical ones. They are natural if you look through the object-oriented glasses. Mathematically, one could build everything purely out of set-theory, and would have sets, power-sets, power-power-sets and their power-

[sage-devel] New version of FLINT (1.2.0) released

2009-03-10 Thread Bill Hart
I have just released FLINT version 1.2.0. It is available at http://www.flintlib.org/ This is a major new version, including the new features: * Incorporation of David Harvey's zn_poly-0.8 (it is now used to speed up the zmod_poly module - users should notice a significant speed increase for

[sage-devel] Re: BUG in dumps() or loads() function

2009-03-10 Thread Georg S. Weber
On 10 Mrz., 09:57, Maurizio maurizio.gran...@gmail.com wrote: Is anybody interested in looking at this? Thank you very much Hi, it is now trac ticket #5471 --- any volunteers to work on it? Cheers, gsw On 8 Mar, 20:14, Maurizio maurizio.gran...@gmail.com wrote: Hello, I was able

[sage-devel] Re: BUG in dumps() or loads() function

2009-03-10 Thread Georg S. Weber
Ups, soory Mike, I was caught by the 25 messages cutoff and didn't see your post. The ticket newly created by me is a double, of course :-( Cheers, gsw On 10 Mrz., 21:14, Georg S. Weber georgswe...@googlemail.com wrote: On 10 Mrz., 09:57, Maurizio maurizio.gran...@gmail.com wrote: Is

[sage-devel] Re: BUG in dumps() or loads() function

2009-03-10 Thread Georg S. Weber
Hi, trac ticket #5466 now has a positive review. Cheers, gsw --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit

[sage-devel] Re: doc-bug

2009-03-10 Thread John H Palmieri
On Mar 10, 9:37 am, Ralf Hemmecke r...@hemmecke.de wrote: That doen't sound complete... Here are some , and the following are some notes from it: see... http://www.sagemath.org/doc/prog/node21.html http://sage.math.washington.edu/home/mhansen/sage/devel/sage/doc/outp... Ralf Thanks.

[sage-devel] Re: data types and symbolic objects

2009-03-10 Thread Georg S. Weber
Hi, On 10 Mrz., 18:26, alex alessandro.bernardini.1...@gmail.com wrote: If I would like to write an extension (a function for example) for sage, using for example C++ and cython, how can I excange data between my own function and sage ? Between C++ and Cython, there is no Sage interface ---

[sage-devel] Re: BUG in dumps() or loads() function

2009-03-10 Thread Maurizio
this is really meaningful to me, and a very positive feedback from this wonderful community thanks! On 10 Mar, 21:24, Georg S. Weber georgswe...@googlemail.com wrote: Hi, trac ticket #5466 now has a positive review. Cheers, gsw --~--~-~--~~~---~--~~ To post

[sage-devel] Re: Test failing on ImportError: cannot import name Set...

2009-03-10 Thread mabshoff
On Mar 6, 9:52 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: On Fri, Mar 06, 2009 at 05:42:17PM +0100, Florent Hivert wrote: I've been stuck an entire day on a problem which may hits you. So I'm putting it there if someone get against it. The problem is the following: Some

[sage-devel] Re: element of integermod is element of integer?

2009-03-10 Thread Nicolas M. Thiery
Because it's really inconvenient to always have to manually cast to the same parent. Imagine I have a loop. while a 1: [do stuff to a to make it smaller] Would this fail if a was not an integer. What if it started out as an integer but then I divided it by something and it

[sage-devel] Re: Question about determinants failing over GF(2)

2009-03-10 Thread mabshoff
On Mar 4, 11:13 am, Jonathan Hanke jonha...@gmail.com wrote: Hi, Hi John, I'm getting a strange error message in the library that I'm having trouble reproducing at the prompt for determinants over GF(2).  The full commands to create the message are below, using the sage in

[sage-devel] BUG: equality of rings not consistent

2009-03-10 Thread critch
In each case below I and J are defined by different choices of generators and are recognized as the same ideal. In case 1 the quotients are considered equal and in case 2 they are considered unequal. (I checked this with the latest version) Case 1: -- sage: R.x = PolynomialRing(QQ)

[sage-devel] Coercion and exception handling

2009-03-10 Thread Nicolas M. Thiery
Dear Sage devels, dear Robert, From #sage-devel: -- 00:54 hivert So one more day lost because of this #($%#^%$^*%#$ bug !!! I'm heading to bed. 00:55 hivert I'm wondering when I'll manage to add something

[sage-devel] Re: 3d display: x3d?

2009-03-10 Thread Ronan Paixão
Em Seg, 2009-03-09 às 11:11 -0700, Robert Bradshaw escreveu: On Mar 9, 2009, at 10:52 AM, Ondrej Certik wrote: On Mon, Mar 9, 2009 at 10:41 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Mar 8, 2009, at 11:14 AM, Prabhu Ramachandran wrote: On 03/08/09 19:19, William

[sage-devel] Re: Test failing on ImportError: cannot import name Set...

2009-03-10 Thread Nicolas M. Thiery
On Tue, Mar 10, 2009 at 03:01:49PM -0700, mabshoff wrote: On Mar 6, 9:52 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: On Fri, Mar 06, 2009 at 05:42:17PM +0100, Florent Hivert wrote: I've been stuck an entire day on a problem which may hits you. So I'm putting it there if

[sage-devel] Re: element of integermod is element of integer?

2009-03-10 Thread Robert Bradshaw
On Mar 10, 2009, at 4:49 PM, Nicolas M. Thiery wrote: Because it's really inconvenient to always have to manually cast to the same parent. Imagine I have a loop. while a 1: [do stuff to a to make it smaller] Would this fail if a was not an integer. What if it started out as an

[sage-devel] Build of sagemath_3.0.5dfsg-2ubuntu1 using prevu fails on Kubuntu Intrepid

2009-03-10 Thread R (Chandra) Chandrasekhar
Dear Folks, I am on an AMD64 PC running Kubuntu Intrepid 8.04 and KDE4.2. The Linux kernel is 2.6.27-11-generic. I downloaded the source package sagemath_3.0.5dfsg-2ubuntu1 from the jaunty archives and tried compiling it, after having installed other necessary packages and built them without

[sage-devel] Re: Coercion and exception handling

2009-03-10 Thread Robert Bradshaw
On Mar 10, 2009, at 5:38 PM, Nicolas M. Thiery wrote: Dear Sage devels, dear Robert, From #sage-devel: -- 00:54 hivert So one more day lost because of this #($%#^%$^*%#$ bug !!! I'm heading to bed.

[sage-devel] Re: 3d display: x3d?

2009-03-10 Thread Ondrej Certik
On Tue, Mar 10, 2009 at 5:39 PM, Ronan Paixão ronanpai...@yahoo.com.br wrote: Em Seg, 2009-03-09 às 11:11 -0700, Robert Bradshaw escreveu: On Mar 9, 2009, at 10:52 AM, Ondrej Certik wrote: On Mon, Mar 9, 2009 at 10:41 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Mar 8,

[sage-devel] Re: [debian-sage] Build of sagemath_3.0.5dfsg-2ubuntu1 using prevu fails on Kubuntu Intrepid

2009-03-10 Thread Tim Abbott
I'm guessing your issue is too old m4ri. Try upgrading to libm4ri-dev from jaunty. -Tim Abbott On Wed, 11 Mar 2009, R (Chandra) Chandrasekhar wrote: Dear Folks, I am on an AMD64 PC running Kubuntu Intrepid 8.04 and KDE4.2. The Linux kernel is 2.6.27-11-generic. I

[sage-devel] Re: BUG: equality of rings not consistent

2009-03-10 Thread William Stein
On Tue, Mar 10, 2009 at 4:52 PM, critch crit...@gmail.com wrote: In each case below I and J are defined by different choices of generators and are recognized as the same ideal.  In case 1 the quotients are considered equal and in case 2 they are considered unequal. (I checked this with the