MatCreateHermitianTranspose#

Creates a new matrix object of MatType MATHERMITIANTRANSPOSEVIRTUAL that behaves like A’*

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatCreateHermitianTranspose(Mat A, Mat *N)

Collective

Input Parameter#

  • A - the (possibly rectangular) matrix

Output Parameter#

  • N - the matrix that represents A’*

Note#

The Hermitian transpose A’ is NOT actually formed! Rather the new matrix object performs the matrix-vector product, MatMult(), by using the MatMultHermitianTranspose() on the original matrix

See Also#

Matrices, Mat, MatCreateNormal(), MatMult(), MatMultHermitianTranspose(), MatCreate(), MATTRANSPOSEVIRTUAL, MatCreateTranspose(), MatHermitianTransposeGetMat(), MATNORMAL, MATNORMALHERMITIAN

Level#

intermediate

Location#

src/mat/impls/transpose/htransm.c

Examples#

src/mat/tests/ex175.c
src/mat/tests/ex125.c
src/mat/tests/ex197.c
src/mat/tests/ex2.c
src/mat/tests/ex253.c
src/mat/tests/ex264.c
src/mat/tests/ex267.c
src/mat/tests/ex70.c
src/ksp/ksp/tutorials/ex27.c
src/ksp/ksp/tutorials/ex81.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages