MatCreateTranspose#
Creates a new matrix MATTRANSPOSEVIRTUAL object that behaves like A’
Synopsis#
#include "petscmat.h"
PetscErrorCode MatCreateTranspose(Mat A, Mat *N)
Collective
Input Parameter#
A - the (possibly rectangular) matrix
Output Parameter#
N - the matrix that represents A’
Note#
The transpose A’ is NOT actually formed! Rather the new matrix
object performs the matrix-vector product by using the MatMultTranspose() on
the original matrix
See Also#
Matrices, Mat, MATTRANSPOSEVIRTUAL, MatCreateNormal(), MatMult(), MatMultTranspose(), MatCreate(),
MATNORMALHERMITIAN
Level#
intermediate
Location#
Examples#
src/mat/tests/ex104.c
src/mat/tests/ex109.c
src/mat/tests/ex115.c
src/mat/tests/ex125.c
src/mat/tests/ex154.c
src/mat/tests/ex192.c
src/mat/tests/ex195.c
src/mat/tests/ex2.c
src/mat/tests/ex214.c
src/mat/tests/ex221.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages