## Version 1.0.0

• Single
• Double
• Single Complex
• Double Complex

### MC22 Permute a sparse matrix given row and column permutations

Given a sparse matrix $A={\left\{{a}_{ij}\right\}}_{n×n}$ and a row permutation matrix $P$ and a column permutation matrix $Q$, this subroutine performs the permutation $Â=PAQ$. The nonzero entries of $A$ are stored by rows in a compact form and the user deﬁnes the permutation matrices $P$ and $Q$ by index vectors of length $n$.