#include "petscmat.h" PetscErrorCode MatPermute(Mat mat,IS row,IS col,Mat *B)Collective on Mat
mat | - the matrix to permute | |
row | - row permutation, each processor supplies only the permutation for its rows | |
col | - column permutation, each processor supplies only the permutation for its columns |
B | - the permuted matrix |