Function brille::make_relative_neighbour_indices4

Function Documentation

bArray<int> brille::make_relative_neighbour_indices4(const int extent = 1)

Construct an bArray with 4 elements per array of all (2N+1)⁴-1 combinations of {-N,-N+1,…,N-1,N} for N=extent, skipping over (0,0,0,0).