Skip to main content

Module offsets

Module offsets 

Source

Functionsยง

hypercubic
Hypercubic neighbor offsets: one unit vector per dimension.
triangular
Triangular-lattice neighbor offsets (2D only).