[sage-support] Re: Method to invert the birational map from degree 3 curve to its Weierstrass form?

2014-05-25 Thread Volker Braun
On Sunday, May 25, 2014 5:12:28 PM UTC+1, Nils Bruin wrote: > > Some design comments: > >> sage: e = EllipticCurve_from_cubic(f,[0,0,1]) >> sage: e >> Scheme morphism: ... >> > > This is not ideal naming. The command reads like you'd be asking for an > elliptic curve, but a morphism is returne

[sage-support] Re: Method to invert the birational map from degree 3 curve to its Weierstrass form?

2014-05-25 Thread Nils Bruin
Some design comments: sage: R. = QQ[] > sage: f = 3*y^2*x-y^2*z-2*x*y*z+y*z^2+2*x^3-2*x^2*z > sage: e = EllipticCurve_from_cubic(f,[0,0,1]) > sage: e > Scheme morphism: ... > This is not ideal naming. The command reads like you'd be asking for an elliptic curve, but a morphism is returned i

[sage-support] Re: Memory Leak in mutipolynomial evaluation

2014-05-25 Thread leif
Simon King wrote: Hi Gabriel, On 2014-05-25, Gabriel Furstenheim Milerud wrote: There is a memory leak in the evaluation of multivariable polynomials: -C.=GF(2)[] -f=x^4+x*y^3+z^6 -get_memory_usage() .1014.47265625 - for i in xrange(100): a=f(1,0,0) -get_memory_usage() .1052

[sage-support] Re: Memory Leak in mutipolynomial evaluation

2014-05-25 Thread Simon King
Hi Gabriel, On 2014-05-25, Gabriel Furstenheim Milerud wrote: > There is a memory leak in the evaluation of multivariable polynomials: > > -C.=GF(2)[] > -f=x^4+x*y^3+z^6 > > -get_memory_usage() > .1014.47265625 > - for i in xrange(100): > a=f(1,0,0) > -get_memory_usage() > .1052.4

[sage-support] Memory Leak in mutipolynomial evaluation

2014-05-25 Thread Gabriel Furstenheim Milerud
There is a memory leak in the evaluation of multivariable polynomials: -C.=GF(2)[] -f=x^4+x*y^3+z^6 -get_memory_usage() .1014.47265625 - for i in xrange(100): a=f(1,0,0) -get_memory_usage() .1052.47265625 I think the problem is in the implementation of the __call__ method in rin