#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 |

MatPermute_SeqAIJ in src/mat/impls/aij/seq/aij.c

MatPermute_MPIBAIJ in src/mat/impls/baij/mpi/mpibaij.c

MatPermute_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c

Index of all Mat routines

Table of Contents for all manual pages

Index of all manual pages