cgm(A,b)

版本 1.1.0.0 (1.6 KB) 作者: Mark Holmes
Solves Ax=b using the conjugate gradient method.
125.0 次下载
更新时间 2018/4/16

查看许可证

Solves Ax=b using the conjugate gradient method. The matrix A should be symmetric and positive definite.
Usage (examples provided at end of m-file):
x=cgm(A,b);

If the matrix is sparse, it is worth trying:
x=cgm(sparse(A),b);

引用格式

Mark Holmes (2024). cgm(A,b) (https://www.mathworks.com/matlabcentral/fileexchange/56208-cgm-a-b), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polynomials 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

mostly modified the comments; the CGM code is unchanged

1.0.0.0