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

  • 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.

    In[1]:=

    Out[1]=

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

    In[2]:=

    Out[2]=