Go utilities for matrices with contiguous underlying storage (usable with compute libraries)