Solving sparse linear system

5 次查看(过去 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 Nonlinear Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by