[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread William Stein
On Thu, 08 Feb 2007 00:23:16 -0700, didier deshommes <[EMAIL PROTECTED]> wrote: > > On 2/8/07, William Stein <[EMAIL PROTECTED]> wrote: >> Didier, >> >> Would RealLib, which still hasn't fully made its way into SAGE, be very >> relevant >> to this question? Can it somehow decide equality of som

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread didier deshommes
On 2/8/07, William Stein <[EMAIL PROTECTED]> wrote: > Didier, > > Would RealLib, which still hasn't fully made its way into SAGE, be very > relevant > to this question? Can it somehow decide equality of some class of real > numbers > defined via an algorithm (e.g., sqrt(2) + 1 - 1 is defined by

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread Luis Finotti
On 2/8/07, William Stein <[EMAIL PROTECTED]> wrote: > I found it is as follows: (...) Thanks for the pointers. > The approximate real number library mpfr that SAGE builds on defines > equality for approximate real numbers in SAGE. If you look at > the underlying binary representations of the

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread William Stein
On Wed, 07 Feb 2007 23:22:46 -0700, didier deshommes <[EMAIL PROTECTED]> wrote: > > On 2/8/07, Luis Finotti <[EMAIL PROTECTED]> wrote: >> Thanks! I could not find that in the Reference Manual... >> >> On the other hand, it seems that Sage (or Python) does not handle >> equality of reals very wel

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread William Stein
On Wed, 07 Feb 2007 23:15:41 -0700, Luis Finotti <[EMAIL PROTECTED]> wrote: >> sage: E=EllipticCurve(RR,[0,-1]) >> sage: x0=RR(4)^(1/3) >> sage: y0=sqrt(RR(3)) >> sage: p=E.point([x0,y0,1], check=False) >> sage: p >> (1.58740105196819 : 1.73205080756887 : 1) >> sage: 2*p, 3*p >> ((1.5874010519681

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread didier deshommes
On 2/8/07, Luis Finotti <[EMAIL PROTECTED]> wrote: > Thanks! I could not find that in the Reference Manual... > > On the other hand, it seems that Sage (or Python) does not handle > equality of reals very well: Hi, this is most likey due to rounding errors. The equality holds for fractions: {{{

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread Luis Finotti
Hello, > It's good that you asked.Do this instead: > > sage: E=EllipticCurve(RR,[0,-1]) > sage: x0=RR(4)^(1/3) > sage: y0=sqrt(RR(3)) > sage: p=E.point([x0,y0,1], check=False) > sage: p > (1.58740105196819 : 1.73205080756887 : 1) > sage: 2*p, 3*p > ((1.58740105196819 : -1.73205080756887 : 1),

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread Iftikhar Burhanuddin
- Original Message - From: Luis Finotti <[EMAIL PROTECTED]> Date: Wednesday, February 7, 2007 9:50 pm Subject: [sage-support] Real points on elliptic curves To: sage-support@googlegroups.com > sage: E=EllipticCurve(RR,[0,-1]) > sage: x0=RR(4)^(1/3) > sage: y0=sqrt(RR(3)) > sage: E([x0,y0

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread William Stein
On Wed, 07 Feb 2007 22:50:01 -0700, Luis Finotti <[EMAIL PROTECTED]> wrote: > I wanted to make a little script that given an elliptic curve and two > points, it would plot the addition with the corresponding lines, > labels, etc. to use in a talk for undergraduates. > > I wanted to only specify th

[sage-support] Real points on elliptic curves

2007-02-07 Thread Luis Finotti
Hi, I wanted to make a little script that given an elliptic curve and two points, it would plot the addition with the corresponding lines, labels, etc. to use in a talk for undergraduates. I wanted to only specify the x-coordinates and choices for the corresponding y's (the larger value, or the

[sage-support] Re: maxima matrix multiplication in SAGE

2007-02-07 Thread William Stein
On Wed, 07 Feb 2007 16:38:46 -0700, Werner Boeglin: > Hello William, > > thank you for the note. > > I have another almost embarrassing question: for example I define a 2x2 > matrix using maxima: > > C=maxima("matrix([x^2*y,y^2*x],[cos(x)+y,x*cos(y)])") > > and calculate the partial derivative: >

[sage-support] Re: Public SAGE servers at SSCC

2007-02-07 Thread Timothy Clemans
Instead of a proxy would port forwarding work? On 2/7/07, alex clemesha <[EMAIL PROTECTED]> wrote: > > > If you can establish an alias for your server such as > > > > notebook.sage.math.washington.edu > > > I vote for this, if it's easy to set up, > it looks really nice/professional and it woul

[sage-support] Re: [Fwd: Re: AWS project]

2007-02-07 Thread Martin Albrecht
> > - - multivariate polynomials: > > given an ideal I = (f_1,...,f_r) and some g in I, find s_1,...,s_r such > > that g = s_1 f_1 + ... + s_r f_r (this doesn't seem to be available > > even for Groebner basis) > > You're right that this doesn't seem to be available, which is a strange > over

[sage-support] Re: Public SAGE servers at SSCC

2007-02-07 Thread alex clemesha
> If you can establish an alias for your server such as > > notebook.sage.math.washington.edu > I vote for this, if it's easy to set up, it looks really nice/professional and it would be good for there to exist a standard url that always points to an online SAGE notebook. Alex > which simply

[sage-support] Re: [Fwd: Re: AWS project]

2007-02-07 Thread William Stein
On Wed, 07 Feb 2007 08:57:09 -0700, Kiran S. Kedlaya <[EMAIL PROTECTED]> wrote: > There's a question below about availability of some features in SAGE, > which we may need for my AWS project. Thanks. There's definitely going to be some basic things that are not in any free software that you'll h

[sage-support] Re: proper way of returning an equation

2007-02-07 Thread Timothy Clemans
Thanks. On 2/7/07, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > On Wednesday 07 February 2007 07:32, Timothy Clemans wrote: > > Hi I would like to write functions that return equations. I would like > > to know what the preferred method in SAGE for doing so is. > > There are two ways: Implement

[sage-support] Re: proper way of returning an equation

2007-02-07 Thread Martin Albrecht
On Wednesday 07 February 2007 07:32, Timothy Clemans wrote: > Hi I would like to write functions that return equations. I would like > to know what the preferred method in SAGE for doing so is. There are two ways: Implement an equation class which does what ever you want and construct it from yo

[sage-support] Re: support for mixed numbers

2007-02-07 Thread Timothy Clemans
Thanks. I did not know. I thought the standard was mixed numbers. On 2/7/07, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > On Wednesday 07 February 2007 07:44, Timothy Clemans wrote: > > Does SAGE support representing 11/3 as 3 2/3, 22/13 as 1 9/13, and > > 55/4 as 11 1/4? My understanding is th

[sage-support] Re: support for mixed numbers

2007-02-07 Thread Martin Albrecht
On Wednesday 07 February 2007 07:44, Timothy Clemans wrote: > Does SAGE support representing 11/3 as 3 2/3, 22/13 as 1 9/13, and > 55/4 as 11 1/4? My understanding is that this is the standard in math. Hi, what do you mean by "representing"? SAGE can surely read "those representations": sage:

[sage-support] Re: Public SAGE servers at SSCC

2007-02-07 Thread Bill Page
On February 6, 2007 10:38 AM Timothy Clemans wrote: > > Is there a way to get your DNS to make a subdomain like > notebook1.sage.math.washington.edu/sage? > > On 2/6/07, William Stein wrote: > > ... > > Unfortunately, I simply don't know how to run the notebook > > through port 80 with apache y

[sage-support] support for mixed numbers

2007-02-07 Thread Timothy Clemans
Does SAGE support representing 11/3 as 3 2/3, 22/13 as 1 9/13, and 55/4 as 11 1/4? My understanding is that this is the standard in math. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send e

[sage-support] proper way of returning an equation

2007-02-07 Thread Timothy Clemans
Hi I would like to write functions that return equations. I would like to know what the preferred method in SAGE for doing so is. This is what I have now: def line_two_points(point1,point2): r""" Returns an equation of a line passing through point1 and point2. EXAMPLES: sage: