#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 needs the entire column permutation, that is this is the same size as the total number of columns in the matrix. It can often be obtained with ISAllGather() on the row permutation |
Level:advanced
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages