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 divrem for EuclideanRingResidueRing #1921

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

add divrem for EuclideanRingResidueRing #1921

wants to merge 4 commits into from

Conversation

fieker
Copy link
Contributor

@fieker fieker commented Dec 4, 2024

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 87.17949% with 5 lines in your changes missing coverage. Please review.

Project coverage is 88.19%. Comparing base (7a473f4) to head (cad3977).

Files with missing lines Patch % Lines
src/generic/Residue.jl 87.17% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1921      +/-   ##
==========================================
+ Coverage   88.17%   88.19%   +0.01%     
==========================================
  Files         120      120              
  Lines       30303    30342      +39     
==========================================
+ Hits        26719    26759      +40     
+ Misses       3584     3583       -1     

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


#horrible - and copied from fmpz_mod
#don't know how to seriously simplify it
#maybe a durect gcdx should be added as well
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#maybe a durect gcdx should be added as well
#maybe a direct gcdx should be added as well

@fingolfin
Copy link
Member

Add some tests?

@thofma
Copy link
Member

thofma commented Dec 5, 2024

I am a bit confused. The code is for residue rings of euclidean rings, but then does something with leading coefficients?

@fieker
Copy link
Contributor Author

fieker commented Dec 5, 2024 via email

@fieker
Copy link
Contributor Author

fieker commented Dec 5, 2024

possibly we need a more sane algorithm?

@thofma
Copy link
Member

thofma commented Dec 5, 2024

How about just doing the Euclidean division in the "base ring" and then project down?

@fieker
Copy link
Contributor Author

fieker commented Dec 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants