isposdef
Determine whether (symmetric) matrix is positive-definite
Syntax
pd = isposdef(A)
Arguments
input
A a symmetric matrix
output
pd logical true if A is positive-definite
Description
Returns true if A is positive-definite. Uses the Matlab chol function, and like that function the lower triangle of A is assumed to be the (complex conjugate) transpose of the upper triangle; i.e. this routine does not check for symmetry!