:orphan:
# MatCreateNormalHermitian
Creates a new matrix object `MATNORMALHERMITIAN` that behaves like (A*)'*A. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatCreateNormalHermitian(Mat A, Mat *N)
```
Collective


## Input Parameter

- ***A  -*** the (possibly rectangular complex) matrix



## Output Parameter

- ***N -*** the matrix that represents (A*)'*A





## Note
The product (A*)'*A is NOT actually formed! Rather the new matrix
object performs the matrix-vector product, `MatMult()`, by first multiplying by
A and then (A*)'


## See Also
 [](ch_matrices), `Mat`, `MATNORMAL`, `MATNORMALHERMITIAN`, `MatNormalHermitianGetMat()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/normal/normmh.c.html#MatCreateNormalHermitian">src/mat/impls/normal/normmh.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex27.c.html">src/ksp/ksp/tutorials/ex27.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/normal/normmh.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
