MatPermute

Creates a new matrix with rows and columns permuted from the original.

Synopsis

int MatPermute(Mat mat,IS row,IS col,Mat *B)
Collective on Mat

Input Parameters

mat - the matrix to permute
row - row permutation
col - column permutation

Output Parameters

B -the permuted matrix

Keywords

matrix, transpose

See Also

MatGetReordering()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents