New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tamagawa_numbers method for elliptic curves over number fields #9387
Comments
comment:1
Added patch with the method tamagawa_numbers(), essentially a duplication of the code for the rational case. |
comment:2
Updated the patch with a corrected doctest (run and passed). |
comment:3
Just a suggestion: why duplicate the code? Since |
comment:4
That's a good idea. Justin, all that's needed is (a) delete the version in ell_rational_field, (b) make sure that the code in ell_number_field works over Q (say by moving the old doctest into the new function -- it should have examples over Q and over another field. There might be other functions like this. If you notice any, make a ticket! |
comment:6
You should also probably delete, rather than comment out, the code in ell_rational_field. |
comment:7
OK, that's weird. Turns out I popped when I should have pushed, so I was testing unmodified code. I'll be back. |
Attachment: 9387.patch.gz New version of patch following DavidL's suggestion |
comment:8
New patch, replacing previous one. This time, with some luck, I verified the patch against both 4.4.4 and 4.5.a1. Comments, brickbats, scotch all welcome. |
Reviewer: David Loeffler |
comment:9
Looks good to me. |
Merged: sage-4.5.2.alpha0 |
Elliptic curves over the rationals have a method that returns a list of tamagawa numbers for the curve. There is no such method in the case of number fields.
Component: elliptic curves
Keywords: tamagawa number
Author: Justin Walker
Reviewer: David Loeffler
Merged: sage-4.5.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/9387
The text was updated successfully, but these errors were encountered: