cgm(A,b)

Solves Ax=b using the conjugate gradient method.

Ahora está siguiendo esta publicación

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

Citar como

Mark Holmes (2026). cgm(A,b) (https://la.mathworks.com/matlabcentral/fileexchange/56208-cgm-a-b), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Polynomials en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.1.0.0

mostly modified the comments; the CGM code is unchanged

1.0.0.0