This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# SymmetricMatrixQ

 SymmetricMatrixQ[m] tests whether m is a symmetric matrix.
Test if a matrix is explicitly symmetric:
Test if a matrix is explicitly symmetric:
 Out[1]=
 Scope   (1)
SymmetricMatrixQ works with SparseArray objects:
SymmetricMatrixQ works with symbolic matrices:
 Applications   (2)
Use a different method for symmetric matrices:
Construct real-valued matrices for testing:
For the non-symmetric matrix m, the function just uses Gaussian elimination:
For the symmetric indefinite matrix mi, the function tries the Cholesky method first:
For the symmetric positive definite matrix mp, the function succeeds with the Cholesky method:
Determine if a sparse matrix is structurally symmetric:
For real-valued matrices, a matrix is Hermitian if and only if it is symmetric:
SymmetricMatrixQ[m] is effectively equivalent to m==Transpose[m]:
Real-valued symmetric matrices have all real eigenvalues:
This also means that their characteristic polynomials have real coefficients:
A complex symmetric matrix is not Hermitian:
New in 7