Function: alglathnf
Section: algebras
C-Name: alglathnf
Prototype: GG
Help: alglathnf(al,m): the lattice generated by the columns of m.
Doc: Given an algebra \var{al} and a square invertible matrix \var{m} with size
 the dimension of \var{al}, returns the lattice generated by the columns of
 \var{m}.
 \bprog
 ? al = alginit(nfinit(y^2+7), [-1,-1]);
 ? a = [1,1,-1/2,1,1/3,-1,1,1]~;
 ? mt = algleftmultable(al,a);
 ? lat = alglathnf(al,mt);
 ? lat[2]
 %5 = 1/6
 @eprog
