Computing the weight distribution of a set of points obtained by scaling, shifting, and truncating a lattice

A method is developed to compute the weight distribution of a set of points obtained from a lattice. The lattice is scaled (with possibly nonequal factors) along different dimensions, is shifted to an arbitrary point, and its lower dimensional subspaces are truncated within given shaping regions. Each branch in the lattice trellis diagram is labeled by the weight distribution of the corresponding coset incorporating the effects of scaling, shifting, and truncation. The weight distribution is obtained by multiplying the weight distribution of the serial branches and then adding the result over parallel paths. >