Changes between Initial Version and Version 1 of Ticket #27432, comment 4
- Timestamp:
- 03/07/19 17:37:03 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27432, comment 4
initial v1 1 1 No! 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! 2 2 3 {{{ 4 sage: E = EllipticCurve('37a1') 5 sage: 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 11 is reasonable. Even 10 gives the same result. (Convergence depends on the size of the imaginary part, and these points have imaginary part 1.)