Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.