Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

LatticeReduce

LatticeReduce[{v1, v2, ...}]
gives a reduced basis for the set of vectors vi.
  • The elements of the vi can be integers, Gaussian integers, or Gaussian rational numbers.
Find the reduced norm basis for a lattice:
Find the reduced norm basis for a lattice:
In[1]:=
Click for copyable input
Out[1]=
Starting with trivial integer linear relationships, LatticeReduce can produce more interesting ones:
Find integer linear relationships for a_1=2 and a_2=3 of the form x_0+a_1 x_1+a_2 x_2=0:
LatticeReduce preserves linear relationships, and the third row provides x_0=-1, x_1=-1 and x_2=1:
Find polynomial relationships x_4 t^4+x_3 t^3+x_2 t^2+x_1 t+x_0=0 for :
The trivial initial relationships:
The reduced relationships:
The first relationship:
Find linear relationships x0+x1 ArcTan[1]+x2 ArcTan[1/5]+x3 ArcTan[1/239]Equal0:
Initial trivial relationships:
Reduced relationships:
The first relationship:
LatticeReduce produces a new reduced basis for the same lattice:
The product of the norms will decrease:
The determinant, or volume of the generator cell, is preserved:
The lattice is generated by {v1, v2}, but also by {w1, w2} produced by LatticeReduce:
The original cell is pink, and the one produced by LatticeReduce is cyan:
The set of vectors must have rational or Gaussian rational coefficients:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team