How can I use "symbfact" to speed up several consecutive Cholesky factorizations?

조회 수: 2 (최근 30일)
Hi all,
I just came across the "symbfact" command. It seems powerful, but I'm wondering exactly how take advantage of it. I need to do several hundred consecutive Cholesky factorizations of matrices that have the same sparsity structure (different entries). Symbfact tells me the sparsity structure of the resulting Cholesky factors, but how can I take advantage of that?
>> % For nxn Q, n~20000
>> L = chol(Q);
>> S = symbfact(L);
>> % How can I use S to efficiently calculate subsequent L's?
Thanks!

채택된 답변

Richard Brown
Richard Brown 2013년 6월 21일
You can't (unless something has changed recently). When I had to do this, I ended up working with the C code in CSparse directly.
  댓글 수: 5
Richard Brown
Richard Brown 2013년 6월 25일
It did -- for my problem the symbolic part was taking more than half the time
Alec Jacobson
Alec Jacobson 2016년 12월 5일
Has anything changed on this front? Is it still impossible to use the symbolic factorization from symbfact for repeated solves?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by