fn circshift<T: Copy + Send>(
a: &mut [T],
(nx, ny, nz): (usize, usize, usize),
forward: bool,
)Expand description
fftshift (forward, shift by floor(n/2)) or ifftshift (shift by ceil(n/2)) per axis,
in place: a rotation of each x-row, of each z-plane by whole rows, and of the volume by whole
planes