Function transpose_bitmatrix
Source pub unsafe fn transpose_bitmatrix(input: &[u8], output: &mut [u8], rows: usize)
Available with target feature avx2
only.
Expand description
Transpose a bit matrix.
§Panics
If the input is not divisable by 128.
If the number of columns (= input.len() * 8 / 128) is less than 128.
If input.len() != output.len()
§Safety
AVX2 instruction set must be available.