Skip to content

Commit

Permalink
Merge pull request #4053 from pleroy/L2
Browse files Browse the repository at this point in the history
An implementation of Nguyễn and Stehlé's L2 algorithm for lattice reduction
  • Loading branch information
pleroy authored Aug 4, 2024
2 parents 4908356 + d497879 commit 2a8d78f
Show file tree
Hide file tree
Showing 5 changed files with 515 additions and 6 deletions.
14 changes: 13 additions & 1 deletion documentation/bibliography.bib
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,18 @@ @article{Newhall1989
volume = {45},
}

@article{NguyễnStehlé2009,
author = {Nguyễn, Phong Q. and Stehlé, Damien},
url = {https://doi.org/10.1137/070705702},
date = {2009},
doi = {10.1137/070705702},
journaltitle = {SIAM Journal on Computing},
number = {3},
pages = {874--903},
title = {An LLL Algorithm with Quadratic Complexity},
volume = {39},
}

@article{Nievergelt2004,
author = {Nievergelt, Yves},
date = {2004-12},
Expand Down Expand Up @@ -2080,7 +2092,7 @@ @inproceedings{WuZhang1991
}

@mvbook{Fontenelle1758,
author = {de Fontelle, Bernard},
author = {de Fontenelle, Bernard Le Bouyer},
publisher = {B.~Brunet},
date = {1758/1766},
doi = {10.3931/e-rara-25886},
Expand Down
Binary file modified documentation/bibliography.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions numerics/lattices.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ template<typename Matrix>
requires two_dimensional<Matrix>
Matrix LenstraLenstraLovász(Matrix const& L);

// Same convention as above, but using a more efficient algorithm.
template<typename Matrix>
requires two_dimensional<Matrix>
Matrix NguyễnStehlé(Matrix const& L);

} // namespace internal

using internal::LenstraLenstraLovász;
using internal::NguyễnStehlé;

} // namespace _lattices
} // namespace numerics
Expand Down
Loading

0 comments on commit 2a8d78f

Please sign in to comment.