Choleky decomposition using cholmod package

136 Views Asked by At

I am trying to use the cholesky decomposition to invert a sparse matrix and I found this great package to help me on my problem. My issue is that I keep getting CholmodNotPositiveDefiniteError although I verified with the eigenvalues that my matrix is positive and I tried adding small positive diagonal matrix but it didn't work. Here's my notebook

Could you please help me on this?

enter image description here

0

There are 0 best solutions below