Let's say that I have $14$ regular matrices of order $4$. I'd like to compare the data of each matrix with all 13 others to see if there's a match
Is there an algorithm that can accomplish this task?
I'm more interested in the algorithm and not any particular programming language.
[EDIT] In response to the first comment, a match would be if all rows and columns of the matrix are the same, small 2x2 example.
m1 m5 |00| === |00| |00| |00| m3 m1 |00| =\= |00| |01| |00| m2 m1 |10| =\= |00| |01| |00| m2 m4 |10| === |10| |01| |01|
It would continue like this for 16x16 but in the end I could get a list of matrix that maches m1 matches m5 m2 matches m4 m1 doesn't match m3, etc...