Changes between Initial Version and Version 1 of Ticket #27432, comment 4


Ignore:
Timestamp:
03/07/19 17:37:03 (3 years ago)
Author:
cremona
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27432, comment 4

    initial v1  
    11No!  The examples for eval_modular_form() are stupid (before and after).  The badly-named prec parameter is not a floating point precision, but should be a positive integer since (looking at the code) it says how many terms of the q-expansion to use.  For the example a value of 100 would be reasonable. No wonder the "values" at the three points are 0, since 0 terms of the series have been added!
    22
     3{{{
     4sage: E = EllipticCurve('37a1')
     5sage: E.eval_modular_form([1.5+I,2.0+I,2.5+I],100)
     6[-0.0018743978548152085771342944989052703431,
     7 0.0018604485340371083710285594393397945456,
     8 -0.0018743978548152085771342944989052703431]
     9}}}
     10
     11is reasonable.  Even 10 gives the same result.  (Convergence depends on the size of the imaginary part, and these points have imaginary part 1.)