MatTranspose

Computes an in-place or out-of-place transpose of a matrix.

Synopsis

int MatTranspose(Mat mat,Mat *B)
Collective on Mat

Input Parameter

mat -the matrix to transpose

Output Parameters

B -the transpose (or pass in PETSC_NULL for an in-place transpose)

Keywords

matrix, transpose

See Also

MatMultTrans(), MatMultTransAdd()

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