cgm(A,b)

Solves Ax=b using the conjugate gradient method.
125 download
Aggiornato 16 apr 2018

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R2018a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Polynomials in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

mostly modified the comments; the CGM code is unchanged

1.0.0.0