#include "petscmat.h" PetscErrorCode MatIsSymmetric(Mat A,PetscReal tol,PetscBool *flg)Collective on Mat
A | - the matrix to test | |
tol | - difference between value and its transpose less than this amount counts as equal (use 0.0 for exact transpose) |
Notes: For real numbers MatIsSymmetric() and MatIsHermitian() return identical results