[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Michel
Hi Nicolas, A long time ago I made a FractionFIeld implementation which would cache factorizations of denominators. instead of taking gcd's all the time http://markmail.org/message/7hxox5cbz5knxjse#query:new%20implementation%20of%20fraction%20field+page:1+mid:5bf3l37bsim34m4g+state:results It

[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Martin Rubey
Michel michel.vandenbe...@uhasselt.be writes: Hi Nicolas, A long time ago I made a FractionFIeld implementation which would cache factorizations of denominators. instead of taking gcd's all the time

[sage-devel] Re: Riemann-Roch spaces in Magma

2009-03-09 Thread John Cremona
I think that the problem is that Magma uses $1 for more than one distinct variable name. Strange but true! So when you changed them all to x you see funny expressions like 1/x^2*x^2. Probably one of the x's is a y. Here is how to get readable output in Magma: _X,Y:=Parent(Basis(D)[1]);

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread Harald Schilly
On Mar 9, 3:04 am, davidp dav...@reed.edu wrote: and I have a student that would love to work with me this summer to really polish it up.  (A preliminary version of a sandpile applet he wrote is atwww.reed.edu/~headb/sandpiles.)  It might not be what Google is looking for, though. There

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread Tim Lahey
Based upon a lot of the comments in recent weeks, improvements in plotting is a good idea. I recommend a canvas matplotlib back end. This would greatly benefit the notebook and would benefit the matplotlib project as well. Of course, I'd prefer improvements to pynac based integration, limits,

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread Harald Schilly
On Mar 9, 11:27 am, Tim Lahey tim.la...@gmail.com wrote: ... but I think the canvas back end has a decent chance of being funded. Yes, but first of all, this week until the 13th we need to have a proposal for Sage as a mentor group. Therefore it should focus on such tasks that have no maths

[sage-devel] Re: sagelet - calculus in two variables - differential

2009-03-09 Thread Harald Schilly
Hi, thx, but the correct URL is http://sagenb.org/home/pub/298/ H On Mar 8, 10:37 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: Dear readers of this group, I wrote a simple sagelet which describes approximation of a function in two variabels using differential. The sagelet is published

[sage-devel] bug in plot: missing bits in figure displayed in notebook

2009-03-09 Thread Stan Schymanski
Dear all, I am not sure if this bug was introduced after version 3.2., but I previously only noticed something similar when using pylab for plotting. If I type the following code in a notebook in sage 3.3, I get a plot where the top including the y-axis label is cut off. a1 = 420.35 a2 = 170.35

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread Jason Grout
Harald Schilly wrote: On Mar 9, 11:27 am, Tim Lahey tim.la...@gmail.com wrote: ... but I think the canvas back end has a decent chance of being funded. Yes, but first of all, this week until the 13th we need to have a proposal for Sage as a mentor group. Therefore it should focus on such

[sage-devel] Listing all polynomials of a given degree

2009-03-09 Thread Noel
Hello Y'all, What's the best way of listing all polynomials of a given degree with coefficients in a finite field? Thank you! NS --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread Nick Alexander
On 9-Mar-09, at 8:48 AM, Noel wrote: Hello Y'all, What's the best way of listing all polynomials of a given degree with coefficients in a finite field? If you want a one liner, you could use sage: [ GF(3)['x'](list(t)) for t in (GF(3)^2) ] [0, 1, 2, x, x + 1, x + 2, 2*x, 2*x + 1, 2*x +

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread David Joyner
On Mon, Mar 9, 2009 at 5:27 AM, Tim Lahey tim.la...@gmail.com wrote: Based upon a lot of the comments in recent weeks, improvements in plotting is a good idea. I recommend a canvas matplotlib back end. This would greatly benefit the notebook and would benefit the matplotlib project as well.

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

2009-03-09 Thread Robert Bradshaw
On Mar 8, 2009, at 11:14 AM, Prabhu Ramachandran wrote: On 03/08/09 19:19, William Stein wrote: 3D interactivity. Here are a few simple examples from Ondrej's site that I made from some mlab examples: http://nb.hpfem.org/home/pub/16 Awesome!! Thanks, yes, the sage notebook is

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

2009-03-09 Thread Ondrej Certik
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 Stein wrote: 3D interactivity.  Here are a few simple examples from Ondrej's site that I made from some mlab examples:  

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread Robert Bradshaw
On Mar 9, 2009, at 8:49 AM, Jason Grout wrote: Harald Schilly wrote: On Mar 9, 11:27 am, Tim Lahey tim.la...@gmail.com wrote: ... but I think the canvas back end has a decent chance of being funded. Yes, but first of all, this week until the 13th we need to have a proposal for Sage as a

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread YannLC
On Mar 9, 6:38 pm, Nick Alexander ncalexan...@gmail.com wrote: On 9-Mar-09, at 8:48 AM, Noel wrote: Hello Y'all, What's the best way of listing all polynomials of a given degree with coefficients in a finite field? If you want a one liner, you could use sage: [ GF(3)['x'](list(t))

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

2009-03-09 Thread Robert Bradshaw
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 Stein wrote: 3D interactivity. Here are a few simple examples from

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread Nicolas M. Thiery
On Mon, Mar 09, 2009 at 10:38:44AM -0700, Nick Alexander wrote: On 9-Mar-09, at 8:48 AM, Noel wrote: What's the best way of listing all polynomials of a given degree with coefficients in a finite field? If you want a one liner, you could use sage: [ GF(3)['x'](list(t)) for t in

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread John Cremona
On 9 Mar, 18:05, YannLC yannlaiglecha...@gmail.com wrote: On Mar 9, 6:38 pm, Nick Alexander ncalexan...@gmail.com wrote: On 9-Mar-09, at 8:48 AM, Noel wrote: Hello Y'all, What's the best way of listing all polynomials of a given degree with coefficients in a finite field? If

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

2009-03-09 Thread Ondrej Certik
On Mon, Mar 9, 2009 at 11:11 AM, Robert Bradshaw rober...@math.washington.edu wrote: 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

[sage-devel] 3.4.rc1 build/test reports

2009-03-09 Thread John Cremona
I built and tested 3.4.rc1 on three machines; No problems on 32-bit ubuntu or 32-bit Suse, but on 64-bit Suse I get failures in devel/sage/ sage/interfaces/sage0.py as I did before (3.4.rc0). Is it possible that some tests in there are timing out -- the machine is heavily loaded (5 separate

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

2009-03-09 Thread Prabhu Ramachandran
On 03/09/09 23:11, Robert Bradshaw wrote: Way back when I started working on the 3d stuff, this is what I imagined people would do. Unfortunately, x3d viewers aren't common (meaning not commonly installed, they are easy to get) and using an applet to install and/or view them was

[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Nicolas M. Thiery
Dear Michel, On Mon, Mar 09, 2009 at 12:03:34AM -0700, Michel wrote: A long time ago I made a FractionFIeld implementation which would cache factorizations of denominators. instead of taking gcd's all the time

[sage-devel] Re: 3.4.rc1 build/test reports

2009-03-09 Thread Georg S. Weber
Hi, On 9 Mrz., 19:27, John Cremona john.crem...@gmail.com wrote: I built and tested 3.4.rc1 on three machines;  No problems on 32-bit ubuntu or 32-bit Suse, but on 64-bit Suse I get failures in devel/sage/ sage/interfaces/sage0.py as I did before (3.4.rc0). Is it possible that some tests in

[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Martin Rubey
Nicolas M. Thiery nicolas.thi...@u-psud.fr writes: Let me dream a bit. I very much like the idea of Factored(Ring), where elements are kept in factored form as long as possible, as is done in FriCas (thanks Martin for the pointer). I would like to have several variants to choose from: -

[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Nicolas M. Thiery
On Mon, Mar 09, 2009 at 08:07:42PM +0100, Martin Rubey wrote: Nicolas M. Thiery nicolas.thi...@u-psud.fr writes: Let me dream a bit. I very much like the idea of Factored(Ring), where elements are kept in factored form as long as possible, as is done in FriCas (thanks Martin for the

[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Martin Rubey
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 back your e-mail. sorry, very unlikely :-( But perhaps you

[sage-devel] Re: sage 3.2.3 os x 10.5 extension loading...

2009-03-09 Thread seb
On that basis I might download 3.3 sources and go for a build if I encounter any consequences of removing the lib. Otherwise I'll wait for a binary release. Cheers, Simon On Mar 7, 7:43 am, mabshoff mabsh...@googlemail.com wrote: On Mar 6, 11:29 am, Georg S. Weber georgswe...@googlemail.com

[sage-devel] Re: 3.4.rc1 build/test reports

2009-03-09 Thread Jaap Spies
Georg S. Weber wrote: Hi, On 9 Mrz., 19:27, John Cremona john.crem...@gmail.com wrote: I built and tested 3.4.rc1 on three machines; No problems on 32-bit ubuntu or 32-bit Suse, but on 64-bit Suse I get failures in devel/sage/ sage/interfaces/sage0.py as I did before (3.4.rc0). Is it

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread Noel
Thank you all for your replies! Now I have another problem: sage: for f in list(GF(2)['x'].polynomials(of_degree=2)): : print len(prime_divisors(f)), f : 1 x^2 1 x^2 + 1 2 x^2 + x 1 x^2 + x + 1 Only one of these polynomials should have a 1 in the first column (the polynomial

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread William Stein
On Mon, Mar 9, 2009 at 2:21 PM, Noel noel.sagu...@cox.net wrote: Thank you all for your replies!  Now I have another problem: sage: for f in list(GF(2)['x'].polynomials(of_degree=2)): :     print len(prime_divisors(f)), f : 1 x^2 1 x^2 + 1 2 x^2 + x 1 x^2 + x + 1 Only one of

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread Carl Witty
On Mon, Mar 9, 2009 at 1:21 PM, Noel noel.sagu...@cox.net wrote: Thank you all for your replies!  Now I have another problem: sage: for f in list(GF(2)['x'].polynomials(of_degree=2)): :     print len(prime_divisors(f)), f : 1 x^2 1 x^2 + 1 2 x^2 + x 1 x^2 + x + 1 Only one of

[sage-devel] Re: [Matplotlib-users] Google summer of Code 2009

2009-03-09 Thread jason-sage
John Hunter wrote: On Mon, Mar 9, 2009 at 3:41 PM, jason-s...@creativetrax.com mailto:jason-s...@creativetrax.com wrote: Is matplotlib planning on applying to be a mentoring organization for Google Summer of Code? If so, may I suggest that an html5/canvas backend (with

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread Noel
Thank you...I'm wrong. Yes, prime_divisors gives the number of distinct prime divisors (just like the name says). NS On Mar 9, 4:24 pm, William Stein wst...@gmail.com wrote: On Mon, Mar 9, 2009 at 2:21 PM, Noel noel.sagu...@cox.net wrote: Thank you all for your replies!  Now I have

[sage-devel] UT Austin

2009-03-09 Thread William Stein
Hi, I got the following email from UT Austin. If anybody wants to go to UT to give a Sage Tutorial May 21-22 and get all their travel expenses paid, email me. I'm not doing it, in part because That's during Sage Days 15 in Seattle. 'TACC organizes a yearly event called scientific software

[sage-devel] Re: Listing all polynomials of a given degree

2009-03-09 Thread Noel
William corrected my mistake. The code was working correctly. I wanted the number of distinct prime divisors of each f. That's exactly what the code was giving me. Thank you for replying! NS On Mar 9, 4:29 pm, Carl Witty carl.wi...@gmail.com wrote: On Mon, Mar 9, 2009 at 1:21 PM, Noel

[sage-devel] Re: Riemann-Roch spaces in Magma

2009-03-09 Thread David Kohel
Can I suggest moving this discussion to sage-nt? Cheers, David --~--~-~--~~~---~--~~ 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: Riemann-Roch spaces in Magma

2009-03-09 Thread John Cremona
2009/3/9 David Kohel drko...@gmail.com: Can I suggest moving this discussion to sage-nt? Done. John Cheers, David --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

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

2009-03-09 Thread John H Palmieri
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): http://groups.google.com/group/sage-support/browse_frm/thread/ ffc9885afb72aa89/202abaf2135d8586?lnk=gstq=dean+moore

[sage-devel] Re: Google Summer of Code 2009

2009-03-09 Thread Burcin Erocal
On Mon, 9 Mar 2009 03:56:28 -0700 (PDT) Harald Schilly harald.schi...@gmail.com wrote: On Mar 9, 11:27 am, Tim Lahey tim.la...@gmail.com wrote: ... but I think the canvas back end has a decent chance of being funded. Yes, but first of all, this week until the 13th we need to have a

[sage-devel] Latex--ReST

2009-03-09 Thread Ralf Hemmecke
Maybe http://www.sagemath.org/doc/prog/node9.html must be changed a little with version 3.4? Ralf --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: Latex--ReST

2009-03-09 Thread Mike Hansen
On Mon, Mar 9, 2009 at 4:41 PM, Ralf Hemmecke r...@hemmecke.de wrote: Maybe http://www.sagemath.org/doc/prog/node9.html must be changed a little with version 3.4? Yes. See