Skip to content
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 Simon's constructor for elliptic curves. #1190

Merged
merged 4 commits into from
Aug 23, 2023

Conversation

HechtiDerLachs
Copy link
Contributor

@testset "additional constructors" begin
R, (x, y) = polynomial_ring(QQ, [:x, :y])
f = y^2 - x^3 - 3*x^2 + 7*x - 4
Hecke.elliptic_curve(f, x, y)
Copy link
Owner

@thofma thofma Aug 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Hecke.elliptic_curve(f, x, y)
elliptic_curve(f, x, y)

kt = fraction_field(pt)
R, (x, y) = polynomial_ring(kt, [:x, :y])
f = y^2 - x^3 - 3*t*x^2 + 7*x - 4*t^2 - 3
Hecke.elliptic_curve(f, x, y)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Hecke.elliptic_curve(f, x, y)
elliptic_curve(f, x, y)

@thofma
Copy link
Owner

thofma commented Aug 23, 2023

A docstring would be nice

@HechtiDerLachs
Copy link
Contributor Author

A docstring would be nice

Really? I was afraid, this would not be appreciated because of too many documented methods of the same function. But I can try to add it.

Btw: It seems you already had similar functionality. Is that true?

@thofma
Copy link
Owner

thofma commented Aug 23, 2023

At the moment there are two methods documented, so adding another won't hurt. And I don't think we have anything that accepts bivariate polynomials.

@simonbrandhorst
Copy link
Collaborator

Thank you.

@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Patch coverage: 95.65% and project coverage change: +0.02% 🎉

Comparison is base (61a5f43) 74.38% compared to head (88c8ede) 74.41%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
+ Coverage   74.38%   74.41%   +0.02%     
==========================================
  Files         346      346              
  Lines      110720   110743      +23     
==========================================
+ Hits        82361    82404      +43     
+ Misses      28359    28339      -20     
Files Changed Coverage Δ
src/EllCrv/EllCrv.jl 95.57% <95.65%> (+<0.01%) ⬆️

... and 33 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thofma thofma merged commit a4a79c1 into thofma:master Aug 23, 2023
14 of 16 checks passed
@HechtiDerLachs HechtiDerLachs deleted the fibration_hop_functionality branch August 24, 2023 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants