Re: [sage-support] checking if two matrices are permutation similar

2014-02-28 Thread Jori Mantysalo
On Thu, 27 Feb 2014, Keivan Monfared wrote: I want to check to see if a matrix that I find is permutation of another matrix which is already in the list. You should define some order for matrices. Then you only need to compare about log N (where N=number of matrices already in list) matrices

Re: [sage-support] checking if two matrices are permutation similar

2014-02-27 Thread David Joyner
On Thu, Feb 27, 2014 at 2:25 PM, Keivan Monfared wrote: > In a problem that I am solving I generate matrices and put them in a list. > The list gets long as if a matrix is a solution to my problem, all of its > permutations are, so I want to check to see if a matrix that I find is > permutation

[sage-support] checking if two matrices are permutation similar

2014-02-27 Thread Keivan Monfared
In a problem that I am solving I generate matrices and put them in a list. The list gets long as if a matrix is a solution to my problem, all of its permutations are, so I want to check to see if a matrix that I find is permutation of another matrix which is already in the list. Are there any fa