Let's say I have a matrix MatrixXd A
and its LLT factorization:
LLT<MatrixXd> llt(A);
How can I save the factorization result to a file and load it later, so that we don't need to do the factorization again in the future runs?
I know we can obtain the L
matrix via MatrixXd L = llt.matrixL()
and save L
to file, but I don't see a way to reconstruct the llt
object from the L
matrix.