Solving sparse linear system

조회 수: 4 (최근 30일)
ahmad
ahmad 2016년 7월 11일
댓글: ahmad 2016년 7월 12일
I want to solve a linear system Ax=b, where A is about 16777218x16777218 matrix, it is sparse but not symmetric positive definite. Normally I use the \ from Matlab to solve the system. However, I'm wondering if there is a more efficient way or tricks to solve this system. I don't have problems with storage, it is only the time that I care about. The iterative solves from Matlab don't give me good results since this system is part of Newton iteration, i.e, it is already an approximation of a nonlinear system.
  댓글 수: 2
John D'Errico
John D'Errico 2016년 7월 11일
편집: John D'Errico 2016년 7월 11일
If there were magic tricks available, then they would be built into \ already. Big problems take time to solve. You have already stated you are not interested in iterative solvers.
ahmad
ahmad 2016년 7월 12일
actually what I meant by tricks is that, if it would be efficient to call subroutines written in C++ for instance from Matlab.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Systems Of Linear Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by