May 9th, 2005, 1:34 am
Since we really work with covariance matrices (stats) or with Hessian matrices (optimization), we can focus on symmetric matrices. If you want to use determinants, you can check the (leading) principal minors. A symmetric (or Herimitian if complex) matrix will be:* Positive definite iff all leading principal minors are positive* Negative definite iff the leading principal minors alternate signs (+, -, +, ...)The k-th leading principal minor is the determinant of the (kxk) submatrix starting from the top left corner, e.g.pm1 = a11pm2 = det({a11,a12},{a21,a22}})pm3 = det({a11,a12,a13},{a21,a22,a23},{a31,a32,a33}})etc.Hope I got that correct Cheers