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 additional lattice methods for matrices over QQ #37157

Merged
merged 5 commits into from
Feb 2, 2024

Conversation

TheBlupper
Copy link
Contributor

LLL has long been implemented for matrices over QQ by clearing the denominator and doing LLL over ZZ, but this was not done for BKZ() or is_LLL_reduced()

This PR adds BKZ() and is_LLL_reduced() to rational matrices, using the same techniques as the current LLL method.

@TheBlupper
Copy link
Contributor Author

On behalf of @grhkm21 I also made the docstring for BKZ over both ZZ and QQ a bit more descriptive

@grhkm21 grhkm21 self-requested a review January 24, 2024 19:05
src/sage/matrix/matrix_rational_dense.pyx Outdated Show resolved Hide resolved
src/sage/matrix/matrix_rational_dense.pyx Show resolved Hide resolved
src/sage/matrix/matrix_rational_dense.pyx Outdated Show resolved Hide resolved
src/sage/matrix/matrix_rational_dense.pyx Outdated Show resolved Hide resolved
@grhkm21
Copy link
Contributor

grhkm21 commented Jan 24, 2024

I think the changes in the review above has all been made (it was from two hours ago), so you can resolve those. I will wait for CI, but otherwise looks fine.

Copy link

Documentation preview for this PR (built with commit 80a2c2f; changes) is ready! 🎉

vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 27, 2024
    
LLL has long been implemented for matrices over QQ by clearing the
denominator and doing LLL over ZZ, but this was not done for BKZ() or
is_LLL_reduced()

This PR adds BKZ() and is_LLL_reduced() to rational matrices, using the
same techniques as the current LLL method.
    
URL: sagemath#37157
Reported by: TheBlupper
Reviewer(s): grhkm21
vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 29, 2024
    
LLL has long been implemented for matrices over QQ by clearing the
denominator and doing LLL over ZZ, but this was not done for BKZ() or
is_LLL_reduced()

This PR adds BKZ() and is_LLL_reduced() to rational matrices, using the
same techniques as the current LLL method.
    
URL: sagemath#37157
Reported by: TheBlupper
Reviewer(s): grhkm21
vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 30, 2024
    
LLL has long been implemented for matrices over QQ by clearing the
denominator and doing LLL over ZZ, but this was not done for BKZ() or
is_LLL_reduced()

This PR adds BKZ() and is_LLL_reduced() to rational matrices, using the
same techniques as the current LLL method.
    
URL: sagemath#37157
Reported by: TheBlupper
Reviewer(s): grhkm21
@vbraun vbraun merged commit b6a4bb5 into sagemath:develop Feb 2, 2024
20 of 24 checks passed
@mkoeppe mkoeppe added this to the sage-10.3 milestone Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants