petsc-master 2015-11-26
Report Typos and Errors


Checks the flag on the matrix to see if it is hermitian.


#include "petscmat.h" 
PetscErrorCode  MatIsHermitianKnown(Mat A,PetscBool  *set,PetscBool  *flg)
Not Collective

Input Parameter

A -the matrix to check

Output Parameters

set - if the hermitian flag is set (this tells you if the next flag is valid)
flg - the result

Note: Does not check the matrix values directly, so this may return unknown (set = PETSC_FALSE). Use MatIsHermitian() if you want it explicitly checked

See Also

MatTranspose(), MatIsTranspose(), MatIsHermitian(), MatIsStructurallySymmetric(), MatSetOption(), MatIsSymmetric()

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