Version 1.0.0

Code Download

  • Single
  • Double
  • Single Complex
  • Double Complex

MC22 Permute a sparse matrix given row and column permutations

Given a sparse matrix A = {aij}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 defines the permutation matrices P and Q by index vectors of length n.