This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Conjugate Gradient - matrixL() or getL()

Tags: None
(comma "," separated)
kimsoohwan
Registered Member
Posts
7
Karma
0
Hi,

I'm using ConjugateGradient in IterativeLinearSolvers for cholesky factorization.
It works well as a linear solver.

But sometimes, I need the lower (or upper) triangle matrix itself.
Is there any features or tricks to get it just like matrixL() or getL()?

Thank you very much in advance.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
CG is an iterative method which directly solves for Ax=b without factorizing the matrix A, unlike a Cholesky-based solver. So there is no such 'L' factors! Check out the SimplicialLLT solver of the SparseCholesky module for that.
kimsoohwan
Registered Member
Posts
7
Karma
0
Thank you so much!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]