next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
LLLBases :: LLL(..., ChangeMatrix => ...)

LLL(..., ChangeMatrix => ...) -- also find change of basis matrix

Synopsis

Description

Constructs the change of basis matrix U from the basis A to the basis B. This is an invertible matrix U such thatAU = B.
i1 : A = matrix randomMutableMatrix(10,10,.5,100000)

o1 = 0

              10        10
o1 : Matrix ZZ   <--- ZZ
i2 : (B,U) = LLL(A, ChangeMatrix=>true)

o2 = (0, 0)

o2 : Sequence
i3 : B == A*U

o3 = true

Further information

See also