[sage-support] Re: Question regarding normalization of modular symbols.

2016-11-09 Thread chris wuthrich
Most of the normalisation of modular symbols was introduced by me so let me comment. There are currently two ways of computing modular symbols, one using eclib and the other the native sage implementation. Both are only correct up to a scaling factor. That is because their main use was as gene

Re: [sage-support] rank of elliptic curves

2014-02-07 Thread chris wuthrich
> but Sage says " name 'ans' is not defined". > That looks like a bug that - I believe - was fixed in 6.1. So maybe you should upgrade to the newest version. However in 6.1 this also yields an error, the one explained by David. Chris. -- You received this message because you are subscribe

[sage-support] Re: In E.sha().an_padic() ValueError: max() arg is an empty sequence

2013-10-18 Thread chris wuthrich
On Thursday, 17 October 2013 11:12:42 UTC+1, Georgi Guninski wrote: > > E=EllipticCurve(QQ,[-100,0]) > sha=E.sha() > sha.an_padic(13) > > > padic_prec = max(bounds[1:]) + 5 > ValueError: max() arg is an empty sequence Oooops. That is clearly a bug in something I have written. I will fix th

[sage-support] Re: Disturbing Equality (from askSAGE)

2013-08-01 Thread chris wuthrich
No - because sqrt is multivalued, the answer can be, and in this case is, > multivalued: sometimes true and sometimes false. This isn't desperately > helpful, or course, and can be cast in other ways in terms of the defect > > If a boolean is "sometimes true and sometimes false" it is false and

[sage-support] Re: Disturbing Equality (from askSAGE)

2013-07-31 Thread chris wuthrich
> Because square root is multivalued. Even so, I would consider this to be wrong for a) I don't want my students to think it is true and b) the left hand side is two-valued while the right hand side is four-valued and hence they do not agree as multi-valued functions. (This objec

[sage-support] Re: turn off stopgaps ?

2012-05-17 Thread chris wuthrich
> sage: import sage.misc.stopgap > sage: sage.misc.stopgap.set_state(False) > Thanks a lot that is what I was looking for. > Strange, though - I thought that individual stopgap warnings are only > supposed to display once, and then become invisible until you restart Sage

[sage-support] turn off stopgaps ?

2012-05-17 Thread chris wuthrich
Is there a way to turn off stopgaps ? I know I should not, but my script uses 100 of times the evaluation of a function (heights on elliptic curves over number fields) but checks if the error occurs by itself. So I would prefer not to see all the warnings because I am warned already. Chris

[sage-support] Re: Sums of Modular Symbols continuing saga

2011-09-01 Thread chris wuthrich
Hello Jack, typically you want sage: E = EllipticCurve("11a1") sage: m = 5 sage: ms = E.modular_symbol() sage: chi = DirichletGroup(m).0 sage: chi Dirichlet character modulo 5 of conductor 5 mapping 2 |--> zeta4 sage: sum( (chi^2)(a) * ms(a/m) for a in [1..(m-1)] ) 5 The symbol ms is already d

[sage-support] Re: tell to sage "do something if you can but if you can not, pass to anything else"

2010-07-19 Thread chris wuthrich
> > A related question: is it possible to catch an exception if there is a > > time out? I think there should be. The timeout process should raise an exception which can be catch. Right now, one can catch that it sends back a string 'NO DATA (timed out)' rather than a result. So the following sh

[sage-support] Re: Computing in the Eisenstein Integers

2010-06-17 Thread chris wuthrich
> There is a patch at http://trac.sagemath.org/sage_trac/ticket/7545 > which adds support for Gaussian integers. ... and which could be easily adapted to work with Eisenstein integers, I believe. Note also that pari has Gaussian Integers and I am sure their implementation is better than mine,

[sage-support] Re: points on elliptic curves mod N

2010-04-12 Thread chris wuthrich
Let link the discussion to the old ticket : http://trac.sagemath.org/sage_trac/ticket/1975 chris. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at

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

2008-06-06 Thread chris wuthrich
I have written the code that computes the torsion of an elliptic over a number field. See trac Ticket #3377. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Fo

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

2008-05-21 Thread chris wuthrich
I actually started to implement this at some point, but I gave up when I realised that there was no 'reduction' of the curve at places of the number field. I will have look at this now, maybe I can do it now. Once one has bounded the possible torsion, it could be better to compute a complex ap

[sage-support] order of graphics in plot

2007-10-25 Thread chris wuthrich
Trying to draw some simple graphics, I could not find how to change the order in which the different graphics primitives are plotted. E.g. if li= line([[-1,-1],[2,2]],thickness=5) Pt = point([1,1],pointsize=300,rgbcolor=(0,0,0)) then (li+Pt).show() and (Pt+li).show() will give the same pl

[sage-support] Re: unable to run sage

2007-10-02 Thread chris wuthrich
> This SELinux problem has come up with Sage about 10 times before. > Disabling SElinux always fixes the problem. > Nobody has ever spent time actually trying to fix this problem -- I don't > know if it's just PARI or much more that causes the problems (i.e., if you > fixed whatever PARI does in

[sage-support] Re: unable to run sage

2007-10-02 Thread chris wuthrich
Nope, I compiled again with the missing dependencies now installed. There were no more errors in install.log. Also the line ldconfig: /maths/staff/pmzcw/prog/sage-2.8.5.1/local/lib/libpari- gmp.so.2 is not a symbolic link disappeared in install.log. But the answer : /local/pmzcw/prog/sage/l

[sage-support] Re: unable to run sage

2007-10-02 Thread chris wuthrich
I compiled from source on a Redhat Linux, more precisely: Linux onrah 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:50:22 EDT 2007 i686 i686 i386 GNU/Linux gcc version 4.1.1 20070105 (Red Hat 4.1.1-52) and I did not spot any errors then. Now browsing through the log-file I found that the compilation

[sage-support] unable to run sage

2007-10-01 Thread chris wuthrich
Hi out there, can anyone tell me why I get this error. I get the same error when trying to start the 'gp' from sage. Chris. -- | SAGE Version 2.8.5.1, Release Date: 2007-09-26 | | Type notebook() for the