#include "petscmat.h" PetscErrorCode MatIsSymmetricKnown(Mat A,PetscBool *set,PetscBool *flg)Not Collective
A | - the matrix to check |
set | - if the symmetric 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 MatIsSymmetric() if you want it explicitly checked