LLLReductionΒΆ
lll.spad line 1 [edit on github]
This package implements LLL reduction. Before use user must set appropriate floating point precision. Too low precision may cause nontermination. Higher precisions require more compute time.
- extendedLLL!: (Matrix Integer, NonNegativeInteger) -> Matrix Integer
extendedLLL!(m, n)with 1<=n<=ncols(m) performs theLLLreduction ofmwhere only the firstncolumns are considered significant. All matrix transformations, however, will be executed on the full matrix.mis destructively modified and will be lost after this call.
- extendedLLL: Matrix Integer -> Record(lll: Matrix Integer, trf: Matrix Integer)
extendedLLL(m)returns theLLLreductions ofmtogether with the transformation matrix, i.e. if [l,t] is returned then it holdsl=t*m.
- find_relation: (List Float, NonNegativeInteger) -> List Integer
find_relation(lf, k)finds short integer relation between elements oflfrounded tokdecimal places.