The Lattices package

[ Tags: gpl, library, math ] [ Propose Tags ]

A library for lattices, in particular for computing an LLL reduced basis for a lattice and finding a close lattice vector

[Skip to Readme]


Versions 0.0.1, 0.0.2
Dependencies array (>=0.3), base (==4.*), HaskellForMaths (>=0.4.0) [details]
License GPL
Author Bart Coppens
Maintainer Bart Coppens <>
Category Math
Source repo head: git clone git://
Uploaded Fri Aug 14 18:02:57 UTC 2015 by BartCoppens
Distributions NixOS:0.0.2
Downloads 1512 total (30 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-08-14 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for Lattices-0.0.2

[back to package description]
A very basic LLL (Lenstra-Lenstra-Lovász) lattice reduction algorithm in Haskell.

* As of now, it seems to work on 2 small test cases and on some larger ones. I need to generate tests for it, for example comparing it to NTL's LLL output
* There are *no* optimizations implemented yet
* The interface is currently not well-designed, it should of course take at least Integer instead of Rational
* etc