cgmS(C,b)

版本 1.0.0.0 (3.4 KB) 作者: Mark Holmes
Solves Ax=b using the conjugate gradient method when A is sparse.
56.0 次下载
更新时间 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 CenterMATLAB Answers 中查找有关 Linear 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