Closed willwheelera closed 10 months ago
instead of checking each pair of lattice vectors manually (and separating 2d and 3d cases), dot the lattice vectors with themselves and check that the matrix is diagonal.
instead of checking each pair of lattice vectors manually (and separating 2d and 3d cases), dot the lattice vectors with themselves and check that the matrix is diagonal.