Function aoc::year2017::day21::two_by_two_permutations

source ยท
fn two_by_two_permutations(a: [u8; 4]) -> [usize; 8]
Expand description

Generate an array of the 8 possible transformations possible from rotating and flipping the 2x2 input.