[sage-support] Re: Sage Question: Computing torsion subgroups of ECs over arbitrary number fields

2008-05-20 Thread William Stein
On Tue, May 20, 2008 at 6:02 PM, Dan Shumow <[EMAIL PROTECTED]> wrote: > > Ok, what I really want to do is determine if there is a torsion point > of order q (a prime) on an elliptic curve over a number field. > > Is there a better way to do this in sage besides looking for roots of > the qth divi

[sage-support] Re: Sage Question: Computing torsion subgroups of ECs over arbitrary number fields

2008-05-20 Thread Dan Shumow
Ok, what I really want to do is determine if there is a torsion point of order q (a prime) on an elliptic curve over a number field. Is there a better way to do this in sage besides looking for roots of the qth division polynomial? Thanks, Dan On May 19, 6:32 pm, "William Stein" <[EMAIL PROTEC

[sage-support] Re: Contour-plot of Weierstrass-p-Function

2008-05-20 Thread Marshall Hampton
I thought it would be cool to see a vector field plot with the real and imaginary parts, but for some reason it doesn't work. Anyone know why not? i=CDF.0 tau=i Om=pari([1,tau]) var('x,y') def g(a,b): q = CDF(Om.ellwp(a+b*i)) return (float(q.real()),float(q.imag())) plot_vector_field(g(x

[sage-support] Re: Contour-plot of Weierstrass-p-Function

2008-05-20 Thread Marshall Hampton
If you force a cast to real type like RDF it works, for example: sage: def f(a,b): return RDF(abs(Om.ellwp(a+b*i))) instead of what you have. This may not be the optimal solution but it works. -M. Hampton On May 20, 1:19 am, Kai <[EMAIL PROTECTED]> wrote: > Hi there, > i'm having yet another