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
more efficient method for number of real components of an elliptic curve over Q #31433
Milestone
Comments
Commit: |
Branch: u/cremona/31433 |
This comment has been minimized.
This comment has been minimized.
comment:4
two many final dots here:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Frédéric Chapoton |
comment:6
ok, looks good. Avanti ! |
comment:7
Replying to @fchapoton:
Merci! |
Changed branch from u/cremona/31433 to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Define an elliptic curve, find its discriminant
and its number of real components:
The number of real components is 1 or 2 when the discriminant is negative or positive respectively. The current code does a lot of unnecessary work:
It is unnecessary to compute a short Weierstrass model, take its coefficients, construct a polynomial, and compute its discriminant, since
E.discriminant()
has the same sign as the discriminant computed here.As well as fixing this we add a
real_components()
method for elliptic curves over number fields, which takes as a parameter a real embedding of the base field.CC: @slel
Component: elliptic curves
Author: John Cremona
Branch/Commit:
41b446c
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/31433
The text was updated successfully, but these errors were encountered: