If you have the Cholesky factor, then just use back substitution (twice), applied to an identity matrix. Actually, it will be a forward substitution, then a back subs.
where L is a lower triangular matrix. So, the problem is to compute the inverse, Ainv here:
Think of it as first solving the problem
L is lower triangular. The right hand side is known, the identity. Apply forward substitution to each column of the RHS.
Then solve a second problem.
Again, u is now completely known. L' is a upper triangular matrix. Use back substitution to solve for the square matrix Ainv.
Easy, peasy. If you got as far as the Cholesky factor, then this part will be easy for you.
When you are done, VERIFY YOUYR RESULT! Test that
Don't worry if there is some floating point trash in the off diagonal elements of the product if they are on the order of 1e-16. That is to be expected.
Best Answer