[sage-support] Re: enumerating vectors in Z^d

2010-05-06 Thread Eva
t; < 1KViewDownload Hmmm, that will give me vectors ordered by l_1 norm, which would get me off to a good start! Is there anything to test/find the l_2 norm of a vector? Thanks, Eva -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this gro

[sage-support] enumerating vectors in Z^d

2010-05-05 Thread Eva
Problem background: I want to find the smallest (in l_2 norm) vectors that satisfy a certain condition - creating a minimal set of coset representatives for Z^d/A(Z^d) for a dilation matrix A. My idea is to start with 0 and enumerate vectors in Z^d one at a time. For each new vector that I consid