Theta function of a lattice

In mathematics, the theta function of a lattice is a function whose coefficients give the number of vectors of a given norm.