[back] [prev] [next] [index] [root]

 


LatBasis

Return the basis of a lattice.

Syntax:

M := LatBasis(Lambda);

matrix
  M  
lattice
  Lambda  

Description:

If the basis is known it is returned as a matrix. Each column of this matrix represents a basis vector. In case of a rel. lattice, a module is returned.


Example:


kash> o := Order(Z, 2, 3);;
kash> Lambda := Lat(o);;
kash> M := LatBasis(Lambda);
[1 1.73205080756887729352744634150587236694280525381]
[1 -1.73205080756887729352744634150587236694280525381]
kash> L := OrderBasis(o);;
kash> List(L, x->EltToList(EltMinkowski(x)));
> [ [ 59/3277, 296/16385 ], [ 297/16385, 298/16385 ] ]


<- back[back] [prev] [next] [index] [root]