Sparse solver for non-square regressor matrix.

조회 수: 2 (최근 30일)
Paulo Cerqueira
Paulo Cerqueira 2020년 3월 5일
편집: Paulo Cerqueira 2020년 3월 13일
When using the backslash operator to solve the least squares problem for x, where A is highly sparse and non-square, MATLAB seems to apply a fast procedure that scales quite well with the size of A, as opposed to what one would expect from a standard QR-solver for full matrices.
However, the documentation is not quite clear with regard to what the specific procedure is when the regressor is sparse but not square, and I'd like to have a notion of its computational complexity.
I would like to know if someone could provide the article/book on which the procedure applied by MATLAB's backslash is based when the regressor A is sparse and not square.
Regards.
  댓글 수: 2
David Goodmanson
David Goodmanson 2020년 3월 6일
편집: David Goodmanson 2020년 3월 6일
Hi Paulo,
see 'doc mldivide' which is really a more obscure reference than it should be. The flowchart there says nonsquare sparse uses QR, although they do not say anything more. A lot of their core algorithms they play pretty close to the vest.
Paulo Cerqueira
Paulo Cerqueira 2020년 3월 6일
Thank you for your reponse =)
I had been through that page, and unfortunately I would have liked a more specific description of the algorithm or its at least of its computational complexity. They provide clear references for the procedures for square regressor matrices, but not for non-square ones.

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

채택된 답변

Paulo Cerqueira
Paulo Cerqueira 2020년 3월 13일
편집: Paulo Cerqueira 2020년 3월 13일
If anyone's interested, "SuiteSparseQR: Multifrontal Multithreaded Rank-Revealing Sparse QR Factorization" by Timothy Davis details the sparse QR implementation implemented in MATLAB R2009a.
Unsure if this is the current one.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by