Version 1.0.0

Code Download

  • Single
  • Double

ME22 Permute a sparse matrix given row and column permutations

Given a sparse complex matrix A = {aij}n×n and a row permutation matrix P and a column permutation matrix Q, this subroutine performs the permutation Â = PAQ. The non-zero elements 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.