Category:Binary matrix templates

These templates allow to create small permutation matrices with a short source code.

gives

This arrangement copied and pasted gives: [1,0,0,0, 0,0,0,0; 0,0,0,0, 1,0,0,0; 0,0,0,0, 0,0,1,0; 0,0,1,0, 0,0,0,0;

0,0,0,0, 0,0,0,1; 0,0,0,1, 0,0,0,0; 0,1,0,0, 0,0,0,0; 0,0,0,0, 0,1,0,0]

See: Table of 3-bit Walsh permutations