[sage-devel] Re: Integer points on Conics

2008-01-15 Thread D. Benjamin Antieau
Enrique, This can easily be done at the moment, assuming that you want to count integral points up to a certain height N. If you are looking for all of the points of something you know has only finitely many, I am not so sure. I hope the following ramble helps. sage: A,B,C,D,E,F=[1,0,0,0,0,-1] #

[sage-devel] Installer Package for OS X 10.4

2008-01-15 Thread jdmitchell
Hello, This is my first post to the developer group so please bear with me. Also, I don't mean to distract you from any pressing matters so take your time. Earlier today I downloaded http://sagemath.org/SAGEbin/apple_osx/intel/sage-2.9.2-osx10.4-intel-i386-Darwin.dmg for installation on my Macb

[sage-devel] Re: Numerical noise in MPFR/MPFI?

2008-01-15 Thread mabshoff
On Jan 16, 6:23 am, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > I was under the impression that MPFR was supposed to give identical > answers across all platforms (unlike, say, RDF). I was wondering if > any experts in the area could explain the numerical noise in cases like > > http://sagetrac

[sage-devel] Numerical noise in MPFR/MPFI?

2008-01-15 Thread Robert Bradshaw
I was under the impression that MPFR was supposed to give identical answers across all platforms (unlike, say, RDF). I was wondering if any experts in the area could explain the numerical noise in cases like http://sagetrac.org/sage_trac/ticket/1790 Is this something to be worried about, or

[sage-devel] Re: Packaging SAGE for (re)distribution in RPM form

2008-01-15 Thread mabshoff
On Jan 16, 5:23 am, gri6507 <[EMAIL PROTECTED]> wrote: > I've posted several thread on this topic now - mostly with question. > But now, with the help of several members in this forum, I finally > have my first release of an RPM > (seehttp://www.mypclinuxos.com/forum/index.php?topic=1509.msg133

[sage-devel] Re: Packaging SAGE for (re)distribution in RPM form

2008-01-15 Thread mabshoff
gri6507 wrote: Hi, > I've posted several thread on this topic now - mostly with question. > But now, with the help of several members in this forum, I finally > have my first release of an RPM (see > http://www.mypclinuxos.com/forum/index.php?topic=1509.msg13310#msg13310) > > I now want to do tw

[sage-devel] Packaging SAGE for (re)distribution in RPM form

2008-01-15 Thread gri6507
I've posted several thread on this topic now - mostly with question. But now, with the help of several members in this forum, I finally have my first release of an RPM (see http://www.mypclinuxos.com/forum/index.php?topic=1509.msg13310#msg13310) I now want to do two things. The first is to trim d

[sage-devel] Re: Sage 2.10.alpha3 released

2008-01-15 Thread mabshoff
On Jan 15, 10:54 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > One error in testing (see below): > > On Jan 15, 2008, at 12:05 AM, mabshoff wrote: > > > Sage 10.2.alpha3 is out. The combinatorics update has been > > sorted out and doctests should pass. There were also a > > whole bunch of

[sage-devel] Re: Sage 2.10.alpha3 released

2008-01-15 Thread mabshoff
On Jan 15, 10:32 pm, Kate <[EMAIL PROTECTED]> wrote: > Michael, Hi Kate, > sage-2.10.alpha3 fails one test (polynomial_element.pyx) on > both > x86-Linux (pentium4-fc6) > x86_64-Linux (Opteron-fc6) > > Both were built using gcc-4.2.2 > > Details follow. > > Kate > > ** > x86-Linux > **

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread Jaap Spies
Jason Grout wrote: > Jaap Spies wrote: >> William Stein wrote: >> > sage: v = vector(RDF, (1,2)) > sage: plot(v, type='arrow').show() >>>^^ >>> >>> Could you call this parameter something besides "type"? I >>> don't like "type" since it is a builtin function na

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread William Stein
On Jan 15, 2008 3:26 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Jaap Spies wrote: > > William Stein wrote: > > > sage: v = vector(RDF, (1,2)) > sage: plot(v, type='arrow').show() > >>^^ > >> > >> Could you call this parameter something besides "type"? I >

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread Jason Grout
Jaap Spies wrote: > William Stein wrote: > sage: v = vector(RDF, (1,2)) sage: plot(v, type='arrow').show() >>^^ >> >> Could you call this parameter something besides "type"? I >> don't like "type" since it is a builtin function name: >> >> sage: type(4/5) >>

[sage-devel] Re: simplification problem

2008-01-15 Thread John Cremona
It's years since I used symbolic computation systems (I used Macsyma from around 1983). Here I was testing some code which will normally be used on numerical data on some generic examples while at the same time getting used to Python's freedom of expression. [Exercise for the reader: what compu

[sage-devel] Re: gp2c integration into Sage

2008-01-15 Thread William Stein
On Jan 15, 2008 8:28 AM, Pablo De Napoli <[EMAIL PROTECTED]> wrote: > > > Hi, > > I've posted into ticket #258 a patch for integrating gp2c into Sage. > Obviously this may still have bugs, so it needs to be reviewed by > someone that understands the details of how gp comunicates > with Sage. > >

[sage-devel] Re: simplification problem

2008-01-15 Thread William Stein
On Jan 15, 2008 1:01 PM, John Cremona <[EMAIL PROTECTED]> wrote: > > Why does this symbolic expression not simplify (to 0)? > > John > > [EMAIL PROTECTED] > -- > | SAGE Version 2.9.3, Release Date: 2008-01-05

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

2008-01-15 Thread John Cremona
On 15/01/2008, David Harvey <[EMAIL PROTECTED]> wrote: > > > On Jan 15, 2008, at 4:54 PM, Robert Bradshaw wrote: > > > What about > > > > sage: K. = NumberField(x^2 + x - (3^3-3)) > > sage: E = EllipticCurve('37a'); E > > Elliptic Curve defined by y^2 + y = x^3 - x over Rational Field > > sage: X

[sage-devel] some words from Joachim Neubüser

2008-01-15 Thread William Stein
Hi, This is from Joachim Neubüser (who started Gap) from a few minutes ago, in reference to open source math software, Sage, etc.: "Ceterum censeo: Nobody has ever paid a license fee for the proof that Sylow subgroups exist in every finite group, Nobody should ever pay a license fee for computi

[sage-devel] Re: simplification problem

2008-01-15 Thread John Cremona
Thanks! John On 15/01/2008, Justin C. Walker <[EMAIL PROTECTED]> wrote: > > > On Jan 15, 2008, at 1:01 PM, John Cremona wrote: > > > > > Why does this symbolic expression not simplify (to 0)? > > > > John > > > > [EMAIL PROTECTED] > > -

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

2008-01-15 Thread William Stein
On Jan 15, 2008 1:58 PM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > > On Jan 15, 2008, at 9:39 AM, Nick Alexander wrote: > > > > >> Perhaps something like > >> > >> P, Q = generic_points(2) > >> P+Q # this works (assuming we can do the fraction field arithmetic > >> efficiently enough) > >> >

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

2008-01-15 Thread David Harvey
On Jan 15, 2008, at 4:54 PM, Robert Bradshaw wrote: > What about > > sage: K. = NumberField(x^2 + x - (3^3-3)) > sage: E = EllipticCurve('37a'); E > Elliptic Curve defined by y^2 + y = x^3 - x over Rational Field > sage: X = E.change_ring(K); X > Elliptic Curve defined by y^2 + y = x^3 + (-1)*x

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

2008-01-15 Thread Robert Bradshaw
On Jan 15, 2008, at 9:39 AM, Nick Alexander wrote: > >> Perhaps something like >> >> P, Q = generic_points(2) >> P+Q # this works (assuming we can do the fraction field arithmetic >> efficiently enough) >> >> where P and Q are defined over the same ring large enough to make >> them independent.

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

2008-01-15 Thread Robert Bradshaw
On Jan 15, 2008, at 11:08 AM, William Stein wrote: > > On Jan 15, 2008 10:25 AM, John Cremona <[EMAIL PROTECTED]> wrote: >> >> I like Robert's suggestion. If the user wants n independent generic >> points, construct a large enough field (transcendence degree n) to >> contain them. >> >> A useful

[sage-devel] Re: Sage 2.10.alpha3 released

2008-01-15 Thread Justin C. Walker
One error in testing (see below): On Jan 15, 2008, at 12:05 AM, mabshoff wrote: > Sage 10.2.alpha3 is out. The combinatorics update has been > sorted out and doctests should pass. There were also a > whole bunch of small updates. The big push for alpha4 [at > least on my end] will be the package

[sage-devel] Re: Sage 2.10.alpha3 released

2008-01-15 Thread Kate
Michael, sage-2.10.alpha3 fails one test (polynomial_element.pyx) on both x86-Linux (pentium4-fc6) x86_64-Linux (Opteron-fc6) Both were built using gcc-4.2.2 Details follow. Kate ** x86-Linux ** sage -t devel/sage-main/sage/rings/polynomial/ polynomial_element.pyx***

[sage-devel] Re: simplification problem

2008-01-15 Thread Justin C. Walker
On Jan 15, 2008, at 1:01 PM, John Cremona wrote: > > Why does this symbolic expression not simplify (to 0)? > > John > > [EMAIL PROTECTED] > -- > | SAGE Version 2.9.3, Release Date: 2008-01-05 | > | Type no

[sage-devel] simplification problem

2008-01-15 Thread John Cremona
Why does this symbolic expression not simplify (to 0)? John [EMAIL PROTECTED] -- | SAGE Version 2.9.3, Release Date: 2008-01-05 | | Type notebook() for the GUI, and license() for information.| -

[sage-devel] Re: Noticed on the Internet:

2008-01-15 Thread William Stein
On Jan 15, 2008 11:56 AM, Lloyd Kilford <[EMAIL PROTECTED]> wrote: > "I believe that all undergraduate mathematics major should learn how > to program in Maple or Mathemtica (or the open-source Computer Algebra > System SAGE), and it will do them lots of good." > > (at http://www.math.rutgers.edu/

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

2008-01-15 Thread William Stein
On Jan 15, 2008 10:25 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > I like Robert's suggestion. If the user wants n independent generic > points, construct a large enough field (transcendence degree n) to > contain them. > > A useful change Magma made relatively recently (a couple of years or >

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

2008-01-15 Thread John Cremona
I like Robert's suggestion. If the user wants n independent generic points, construct a large enough field (transcendence degree n) to contain them. A useful change Magma made relatively recently (a couple of years or so ago) was to aloow points on an elliptic curve to have coordinates in an ext

[sage-devel] Re: Integer points on Conics

2008-01-15 Thread John Cremona
Finding integral points on an affine curve is not the same as finding rational points on the projective model and then scaling! Quick answer to William's question is "no", since my code always finds rational points (and their parametrization). The same sort of thing that Simon's gp program does

[sage-devel] Re: Possible bug in EllipticCurve("string")

2008-01-15 Thread John Cremona
I have no problem with this: [EMAIL PROTECTED] -- | SAGE Version 2.9.3, Release Date: 2008-01-05 | | Type notebook() for the GUI, and license() for information.| -

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

2008-01-15 Thread Nick Alexander
> Perhaps something like > > P, Q = generic_points(2) > P+Q # this works (assuming we can do the fraction field arithmetic > efficiently enough) > > where P and Q are defined over the same ring large enough to make > them independent. (I'm not returning the new curve here because with > a variable

[sage-devel] Re: Integer points on Conics

2008-01-15 Thread Nick Alexander
On 15-Jan-08, at 8:28 AM, William Stein wrote: > > On Jan 15, 2008 7:39 AM, Enrique Gonzalez Jimenez > <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Let C be a plane conic given by an equation of the form >> C:Ax^2+Bxy+Cy^2+Dx+Ey+F=0 where A,B,C,D,E,F in ZZ. >> >> Is there a package or function

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

2008-01-15 Thread Robert Bradshaw
On Jan 15, 2008, at 5:13 AM, David Harvey wrote: >> I tried doing this in Magma some time ago, using something like David >> Harvey's code. I longed for a function GenericPoint() for a >> curve, so >> that for example >> (x1,y1)=E.GenericPoint() >> would return a point where x1,y1 live in the

[sage-devel] gp2c integration into Sage

2008-01-15 Thread Pablo De Napoli
Hi, I've posted into ticket #258 a patch for integrating gp2c into Sage. Obviously this may still have bugs, so it needs to be reviewed by someone that understands the details of how gp comunicates with Sage. Some remarks on the class Gp in interfaces/gp.py? Shouldn't this class have a __del

[sage-devel] Re: Integer points on Conics

2008-01-15 Thread William Stein
On Jan 15, 2008 7:39 AM, Enrique Gonzalez Jimenez <[EMAIL PROTECTED]> wrote: > > Hi, > > Let C be a plane conic given by an equation of the form > C:Ax^2+Bxy+Cy^2+Dx+Ey+F=0 where A,B,C,D,E,F in ZZ. > > Is there a package or function in SAGE that compute C(ZZ)? John Cremona -- is there code in

[sage-devel] Re: Magma multiple return values

2008-01-15 Thread William Stein
On Jan 15, 2008 7:24 AM, Kiran Kedlaya <[EMAIL PROTECTED]> wrote: > > In Magma, many commands return multiple values, for instance: > > sage: %magma > magma: XGCD(15, 10) > 5 1 -1 > > However, the following happens in SAGE: > > sage: magma.XGCD(15, 10) > 5 > > Is there a good way for the Magma int

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread Jason Grout
Jaap Spies wrote: > William Stein wrote: > sage: v = vector(RDF, (1,2)) sage: plot(v, type='arrow').show() >>^^ >> >> Could you call this parameter something besides "type"? I >> don't like "type" since it is a builtin function name: >> >> sage: type(4/5) >>

[sage-devel] Re: Sage 2.10.alpha3 released

2008-01-15 Thread Jaap Spies
mabshoff wrote: > Hi, > > Sage 10.2.alpha3 is out. The combinatorics update has been > sorted out and doctests should pass. There were also a > whole bunch of small updates. The big push for alpha4 [at > least on my end] will be the package update and the merging > of the 64 bit MacIntel fixes. >

[sage-devel] Integer points on Conics

2008-01-15 Thread Enrique Gonzalez Jimenez
Hi, Let C be a plane conic given by an equation of the form /C:Ax^2+Bxy+Cy^2+Dx+Ey+F=0 where A,B,C,D,E,F in ZZ. / Is there a package or function in SAGE that compute C(ZZ)? Thanks, Enrique --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@go

[sage-devel] Magma multiple return values

2008-01-15 Thread Kiran Kedlaya
In Magma, many commands return multiple values, for instance: sage: %magma magma: XGCD(15, 10) 5 1 -1 However, the following happens in SAGE: sage: magma.XGCD(15, 10) 5 Is there a good way for the Magma interface to detect multiple return values and bundle them into a Python tuple? Then I'd be

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread Jaap Spies
William Stein wrote: >>> sage: v = vector(RDF, (1,2)) >>> sage: plot(v, type='arrow').show() >^^ > > Could you call this parameter something besides "type"? I > don't like "type" since it is a builtin function name: > > sage: type(4/5) > > > so using type in your

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-15 Thread William Stein
On Jan 15, 2008 5:23 AM, dpvc <[EMAIL PROTECTED]> wrote: > > > Just out of curiosity do you know of _any_ javascript equations editors > > that are actually pretty good / finished / better than your > > currentjsmath-based one? > > No. I find the state of affairs with on-line equation editors to

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread William Stein
On Jan 15, 2008 4:48 AM, Jaap Spies <[EMAIL PROTECTED]> wrote: > > Jason Grout wrote: > > > > If it's convenient, could someone review trac #1575 ? I'm using it in > > my linear algebra and calc 3 classes and it'd be nice if the patch was > > in 2.10 so that students have access to it. > > > > Th

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

2008-01-15 Thread David Harvey
On Jan 15, 2008, at 4:08 AM, John Cremona wrote: > I think this computation (in the quotient ring) makes sense even if > the ideal is not prime. I had already tried to do it that way, but > failed. > > However I am not quite convinced that verifying P1+(P1+P3)==(P1+P2)+P3 > is genuinely provin

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-15 Thread dpvc
> Just out of curiosity do you know of _any_ javascript equations editors > that are actually pretty good / finished / better than your > currentjsmath-based one? No. I find the state of affairs with on-line equation editors to be pretty sad at the moment. It's definitely something that needs

[sage-devel] Re: plotting vectors using arrows and/or step functions

2008-01-15 Thread Jaap Spies
Jason Grout wrote: > > If it's convenient, could someone review trac #1575 ? I'm using it in > my linear algebra and calc 3 classes and it'd be nice if the patch was > in 2.10 so that students have access to it. > > The patch makes plotting of vectors default to arrows if the dimension > is

[sage-devel] Re: trac 1413 and general _sig_on questions

2008-01-15 Thread jbmohler
On Jan 14, 9:41 pm, Carl Witty <[EMAIL PROTECTED]> wrote: > On Jan 14, 4:24 pm, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > > Does anyone care that Ctrl+c > > can leak memory from c/c++ libs? > > It's worse than just leaking memory; as far as I know, it's quite > possible that hitting Ctrl-c a

[sage-devel] plotting vectors using arrows and/or step functions

2008-01-15 Thread Jason Grout
If it's convenient, could someone review trac #1575 ? I'm using it in my linear algebra and calc 3 classes and it'd be nice if the patch was in 2.10 so that students have access to it. The patch makes plotting of vectors default to arrows if the dimension is <=3, default to step functions if

[sage-devel] Re: Possible bug in EllipticCurve("string")

2008-01-15 Thread bill.p
Something weird going on. It's now started working! The cell was way down on a worksheet and I wondered if that had anything to do with it so I moved the statement to the top cell and re-ran it and it was OK there. Then I moved down to the bottom again and it now works there also. Looks like it m

[sage-devel] Possible bug in EllipticCurve("string")

2008-01-15 Thread bill purvis
I've just tried using the alternative method, using Cremona naming, to create an elliptic curve: E=EllipticCurve("5077a") E.gens() When I evaluate the second statement, it returns nothing. This works fine using the vector of coefficients method. Should I open a Trac ticket or am I doing somethin

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

2008-01-15 Thread John Cremona
I think this computation (in the quotient ring) makes sense even if the ideal is not prime. I had already tried to do it that way, but failed. However I am not quite convinced that verifying P1+(P1+P3)==(P1+P2)+P3 is genuinely proving anything! Since in the implementation of elliptic curve add

[sage-devel] Sage 2.10.alpha3 released

2008-01-15 Thread mabshoff
Hi, Sage 10.2.alpha3 is out. The combinatorics update has been sorted out and doctests should pass. There were also a whole bunch of small updates. The big push for alpha4 [at least on my end] will be the package update and the merging of the 64 bit MacIntel fixes. Tarball [199MB] is the usual p