Previous Up Next

12.2.11  Inverse of a permutation

Every permutation has an inverse, which is also a permutation.

The perminv command computes the inverse of a permutation.

Example

perminv([1,2,0])
     
⎡
⎣
2,0,1⎤
⎦
          

Previous Up Next