I am looking to invert a (lower) triangular matrix that comes from the Cholesky decomposition of A
, as A = L @ L.T
. There are a few potential solutions, including numpy: inverting an upper triangular matrix. Unfortunately, this question is now more than 11 years old so newer solutions might exist now. Is there any method in numpy
or scipy
or any other relevant package that could be used to compute the inverse of a triangular matrix, upper or lower?
I can obviously code a solution myself (inverse of diagonal terms and ensuring that non-diagonal products are null) but this is error-prone and might not be as stable and tested as more common packages.