-
-
Notifications
You must be signed in to change notification settings - Fork 706
Closed
Labels
Description
Problem Description
Currently quadratic_nonresidue is implemented for some finite fields, but not others.
Having this method could simplify some part of the code
sage/src/sage/schemes/elliptic_curves/ell_field.py
Lines 164 to 170 in 1ca4a47
| # We could take a multiplicative generator but | |
| # that might be expensive to compute; otherwise | |
| # half the elements will do, and testing squares | |
| # is very fast. | |
| D = K.random_element() | |
| while D.is_square(): | |
| D = K.random_element() |
Somewhat related #39688
Is there an existing issue for this?
- I have searched the existing issues for a bug report that matches the one I want to file, without success.