n-dimensional lattice class