Template:3-bit Walsh permutation/matrix similarity