cgmS(C,b)

バージョン 1.0.0.0 (3.36 KB) 作成者: Mark Holmes
Solves Ax=b using the conjugate gradient method when A is sparse.
ダウンロード: 56
更新 2016/3/29

ライセンスの表示

Solves Ax=b using the conjugate gradient method; it's capable of quickly solving equations with very large sparse matrices (even those that exceed MATLAB's storage limitations).
usage (examples at end of m-file):
x=cgmS(C,b);
In the above command, C is the matrix A stored in a row-compressed format (this is explained at end of m-file)

This program is most useful for large sparse matrices (but it will work on non-sparse matrices). For non-large matrices it might be easier, and faster, to use cgm(A,b), which is also available via MATLAB's file exchange.

引用

Mark Holmes (2024). cgmS(C,b) (https://www.mathworks.com/matlabcentral/fileexchange/56209-cgms-c-b), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

edited comments at end of m-file