If P and Q are permutation matrices, the result is
PAQ. However, it is also possible to specify the indices
and to perform in a very efficient way
A[rowind, colind], see examples.
A row permutation is much faster than a colum permutation.
For very large matrices, a double transpose might be faster.
The spam option checkpivot determines if the permutation
is verified.