Registered Member
|
Hi,
what is the best way to get the diagonal entries of the Cholesky factor of a matrix? I'm using
since neither LLT nor TriangularView seem to offer a diagonal() method, but it's a bit cumbersome. Thanks a lot! Lucas |
Moderator
|
TriangularView could indeed offer a diagonal() method. In the meantime it's better to get the underlying matrix rather than copying it into a temporary:
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]