Number of points in a d-dimensional cube with side length 2n.
Computes \((2n + 1)^d\).
d (int) – Spatial dimensions
n (int) – Half size
int
treams.lattice.cython_lattice.lsumsw1d
treams.lattice.cython_lattice.nedge