next up previous contents index
Next: NCCheckPermutation[SizeOfMatrix, aListOfPermutations] Up: Block Matrix Manipulation Previous: NCPermutationMatrix[aListOfIntegers]   Contents   Index

NCMatrixToPermutation[aMatrix]

Aliases: None.
Description: NCMatrixToPermutation[aMatrix] returns the permutation associated with the permutation matrix, aMatrix. Basically, it is the inverse of NCPermutationMatrix.
Arguments: aMatrix must be matrix whose columns (or rows) can be permuted to yield the identity matrix. In other words, aMatrix must be a permutation matrix. For example, if m = $ \{\{0,0,0,1\},\{1,0,0,0\},\{0,0,1,0\},\{0,1,0,0\}\}$, then NCPermutationMatrix[m] gives $ \{2,4,3,1\}$.
Comments / Limitations: None.



NCAlgebra Project 2002-09-09