(04-28-2024, 05:58 PM)Kevin Kofler Wrote: This matrix is a permutation matrix. Like an identity matrix, but with some rows/columns permuted. Every row and every column should contain exactly one 1, all other entries should be 0. You can try all possible permutations, for a 3×3 matrix, there are 3!=1*2*3=6 possible permutations.Ok, I try to fiddle around with matrix and let you know the outcome!
I believe that the mount matrix, in addition to such a permutation, can also apply mirroring, where you replace one or more of the 1 entries by -1.
Maybe this is a stupid question, but: must the matrix be formatted like this
0, 1, 0;
1, 0, 0;
0, 0, 1
or is it ok to have everything in one line, as in the example?