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 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