Open
Description
Currently, only ℤ-modules with a distinguished basis get methods like LLL
or approximate_closest_vector
or volume
.
matrix([1, 2, 3]).right_kernel().volume() # error (this should work!)
IntegerLattice(matrix([1, 2, 3]).right_kernel_matrix()).volume() # works
#IntegerLattice(matrix([1, 2, 3]).right_kernel()) # loops forever
These methods in fact does not require a distinguished basis, as they are independent of the basis chosen. They could be moved upstream (to work with any ℤ-module, this may need creation of a new class).
Metadata
Metadata
Assignees
Labels
No labels