This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations  /

  • LatticeReduce[ , , ... ] gives a reduced basis for the set of vectors .
  • The elements of the can be integers, Gaussian integers, or Gaussian rational numbers.
  • See the Mathematica book: Section 3.2.4.
  • See also: Rationalize.
  • Related package: NumberTheory`Recognize`.

    Further Examples

    This gives a set of vectors which span the same vector space as the given basis. These vectors are close to being pairwise orthogonal and the first ones are small relative to the input.



    This gives a basis for a set of vectors with rational coordinates.