Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Matrices and Linear Algebra >

HermitianMatrixQ

HermitianMatrixQ[m]
tests whether m is a Hermitian matrix.
Test if a matrix is explicitly Hermitian:
For a real matrix, this is equivalent to symmetry:
Test if a matrix is explicitly Hermitian:
In[1]:=
Click for copyable input
Out[1]=
For a real matrix, this is equivalent to symmetry:
In[2]:=
Click for copyable input
Out[2]=
HermitianMatrixQ works with SparseArray objects:
HermitianMatrixQ works with symbolic matrices:
All symbolic quantities are assumed to be complex:
Use a different method for Hermitian matrices:
Construct complex-valued matrices for testing:
For the non-Hermitian complex-valued matrix m, the function just uses Gaussian elimination:
For the Hermitian indefinite matrix mi, the function tries the Cholesky method first:
For the Hermitian positive definite matrix mp, the function succeeds with the Cholesky method:
HermitianMatrixQ[m] is effectively equivalent to mEqualConjugateTranspose[m]:
Hermitian matrices have all real eigenvalues:
This also means that their characteristic polynomials have real coefficients:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team