MatIsSymmetric

Test whether a matrix is symmetric

Synopsis

#include "petscmat.h" 
int MatIsSymmetric(Mat A,PetscTruth *flg)
Collective on Mat

Input Parameter

A -the matrix to test

Output Parameters

flg -the result

See Also

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

Level:intermediate
Location:
src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages