:orphan: # MatMultHermitianTransposeEqual Compares matrix-vector products of two matrices. ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatMultHermitianTransposeEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) ``` Collective ## Input Parameters - ***A -*** the first matrix - ***B -*** the second matrix - ***n -*** number of random vectors to be tested ## Output Parameter - ***flg -*** `PETSC_TRUE` if the products are equal; `PETSC_FALSE` otherwise. ## See Also `Mat`, `MatMatMultAddEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `MatMultTransposeEqual()` ## Level intermediate ## Location src/mat/utils/multequal.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/utils/multequal.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)