[sage-support] problem with plot3d on ubuntu 64bit

2008-01-15 Thread David Joyner
Hi: I have an old 64 bit machine with 64bit ubuntu fiesty fawn loaded on it. I just noticed a problem with plot3d on it (plot3d runs fine on my intel macbook): In sage 2.9.3: sage: x = var("x") sage: y = var("y") sage: p = plot3d(x^2-y^2,(-1,1),(-1,1)) ---

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-15 Thread mabshoff
On Jan 16, 12:40 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 3:00 PM, Georg Grafendorfer > > > > <[EMAIL PROTECTED]> wrote: > > Hi Robert, > > > > 1. Is this a clean, from-source build of sage-2.9.3? > > > Yes, i tried it out on two different systems now, Athlon XP, and Core

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-15 Thread William Stein
On Jan 15, 2008 3:00 PM, Georg Grafendorfer <[EMAIL PROTECTED]> wrote: > Hi Robert, > > > > 1. Is this a clean, from-source build of sage-2.9.3? > > Yes, i tried it out on two different systems now, Athlon XP, and Core Duo, > both running on Debian Etch, and both show the same behaviour > > > > 2.

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-15 Thread Georg Grafendorfer
Hi Robert, 1. Is this a clean, from-source build of sage-2.9.3? Yes, i tried it out on two different systems now, Athlon XP, and Core Duo, both running on Debian Etch, and both show the same behaviour 2. What is the output of /usr/bin/env for you? Mine (Intel OS X > 10.5.1) doesn't mention sage

[sage-support] Re: Problems with standalone python/sage scripts

2008-01-15 Thread Robert Miller
Georg, 1. Is this a clean, from-source build of sage-2.9.3? 2. What is the output of /usr/bin/env for you? Mine (Intel OS X 10.5.1) doesn't mention sage at all, although mysteriously things are working for me. > #!/usr/bin/env sage -python > import sys For me, I get $ ./BMV.sage $ Also, if I

[sage-support] Re: python question

2008-01-15 Thread William Stein
On Jan 15, 2008 11:35 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > Thanks for the hints. I did look at "Dive into..." a while back (it > is recommended on the Sage website after all) but for some reason did > not get on with it (the very frist "complete, working Python program" > just left me

[sage-support] Re: python question

2008-01-15 Thread John Cremona
Thanks for the hints. I did look at "Dive into..." a while back (it is recommended on the Sage website after all) but for some reason did not get on with it (the very frist "complete, working Python program" just left me cold), so I got the basics from the online Puthon tutorial (which I do recom

[sage-support] Re: python question

2008-01-15 Thread William Stein
On Jan 15, 2008 10:12 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > Kevin, > > I have been taking the same plunge (and prbably for the same reason). > It's not clear whether knowing C++ well was a help or a hindrance. I > have just read the book "Learning Python" by Lutz, published by > O'Reill

[sage-support] Re: LaurentSeries expansion

2008-01-15 Thread William Stein
On Jan 15, 2008 10:44 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > > It might be a lot easier to help if you gave the rational function. > > Depending on how complicated the denominator is, you basically just have to > > compute the Taylor series of the rational function, by differentiation

[sage-support] Re: LaurentSeries expansion

2008-01-15 Thread Martin Albrecht
> It might be a lot easier to help if you gave the rational function. > Depending on how complicated the denominator is, you basically just have to > compute the Taylor series of the rational function, by differentiation and > evaluation (using Taylor's formula), i.e., kind of like this is doing,

[sage-support] Re: python question

2008-01-15 Thread John Cremona
Kevin, I have been taking the same plunge (and prbably for the same reason). It's not clear whether knowing C++ well was a help or a hindrance. I have just read the book "Learning Python" by Lutz, published by O'Reilly, and found it pretty good. At least, I knew immediately why your progam did

[sage-support] Re: GAP small groups library missing

2008-01-15 Thread esdc
it worked, thank you :) On Jan 15, 12:39 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 2:51 AM, esdc <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > I was trying to run a GAP session inside sage, with gap_console() and > > when the Smallgroups library is needed, I obtain an err

[sage-support] Problems with standalone python/sage scripts

2008-01-15 Thread Georg
Hi, Using sage-2.9.3, on Debian Etch on a core duo machine. According to the sage tutorial p.67 section 5.3 Standalone Python/Sage Scripts, i tried to run such a script called BMV.sage: #!/usr/bin/env sage -python import sys $ ./BMV.sage /usr/bin/env: sage -python: file or directory not found t

[sage-support] python question

2008-01-15 Thread William Stein
Kevin Buzzard wrote: > I finally took the plunge and started learning python. I think it's the > first language I've ever learnt where "everything is a pointer" and it was > a big psychological shock! After my first day of messing around with it, I > was utterly confused :-) I had a vector which I

[sage-support] Re: LaurentSeries expansion

2008-01-15 Thread William Stein
On Jan 15, 2008 8:46 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > in a nutshell I want to compute something like this MAGMA session in Sage: > > %magma > P := PolynomialRing(GF(127),4); > I := ideal; > S := HilbertSeries(I); > S; > L := LaurentSeriesRing(IntegerRing()); > L

[sage-support] LaurentSeries expansion

2008-01-15 Thread Martin Albrecht
Hi everybody, in a nutshell I want to compute something like this MAGMA session in Sage: %magma P := PolynomialRing(GF(127),4); I := ideal; S := HilbertSeries(I); S; L := LaurentSeriesRing(IntegerRing()); L ! S; The first part is quite easy as I wrapped the appropriate Singular function (singu

[sage-support] Re: Computations with Lie algebras?

2008-01-15 Thread [EMAIL PROTECTED]
On Jan 14, 1:33 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > On Jan 14, 2008 9:31 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Does SAGE currently include any functionality for manipulating Lie > > algebras? (I only need reductive Lie algebras, because I'm using them > > to stud

[sage-support] Re: GAP small groups library missing

2008-01-15 Thread David Joyner
On Jan 15, 2008 2:51 AM, esdc <[EMAIL PROTECTED]> wrote: > > Hi all, > I was trying to run a GAP session inside sage, with gap_console() and > when the Smallgroups library is needed, I obtain an error: > > Error, the Small Groups library is required but not installed called > from > ( ) called fr

[sage-support] Re: associativity of addition on ell. curves

2008-01-15 Thread achrzesz
Dear Carl, I like your code; it is elegant and realy quick but it seems that finishing your code with Paul Zimmermann's approach I2 = singular(I).groebner() #print I.reduce(n12); print singular.reduce((n12), I2) (althout less elegant) is a little bit faster (0.06 -> 0.05 on my comp. :) I want a