Perhaps the Sage version of the database should have the rounded analytic Sha values and not the floating point ones (for positive rank curves, I mean: in the rank 0 case the values are already integers).
Nils, if you get the files http://www.warwick.ac.uk/staff/J.E.Cremona/ftp/data/allbigsha.*.gz then a typical line is 475 a 3 [0,-1,1,-19233,-1020257] 0 1 9 where the last field is #Sha. Also, the summary table at http://www.warwick.ac.uk/staff/J.E.Cremona/ftp/data/shas.html shows that the maximal Sha in the database is order 26^2. Wonderful though the Sage interface is, I did try to make the database a little bit useful before Sage existed! John On Mar 22, 5:11 am, Craig Citro <craigci...@gmail.com> wrote: > > Note that you're skipping the last conductor in the database, I > > think... DB.conductor_range? indicates that the returned values > > represent an inclusive range, but range/xrange/etc. take their second > > argument as an exclusive bound. (This is easy to fix with the above > > xrange expression, but I don't see how to fix it with the simple *args > > syntax.) > > Touche. I can find *a* way to fix it, but only at the cost of making > it significantly uglier and more fragile than the original use of an > anonymous lambda: > > sage: t = (1,10) > sage: srange(*(list(t) + [1,ZZ,False,True])) > [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] > > Clearly that's not the way to go in general ... I think the lambda is > much nicer in this case. (To be fair, Scheme is still the language > closest to my heart, so I may be biased.) > > -cc --~--~---------~--~----~------------~-------~--~----~ 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 http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---