Registered Member
|
Hello,
Does SimplicialLDLT class of SparseCholesky module support matrices whose elements are complex numbers? If so, what is the definition of positive definiteness? I am trying to use it but I am getting the wrong results. According to the definition here (http://mathworld.wolfram.com/PositiveDe ... atrix.html), my matrix is positive definite (eigenvalues of Hermitan part are positive). My code is the following:
The output is:
However, the correct solution (computed by MATLAB) is:
Thanks in advance for any help. |
Moderator
|
Your matrix is not self-adjoint (synonym for Hermitian), but symmetric. Its eigenvalues are not even real but complex.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]