cg_test


cg_test, a C++ code which calls cg() to implement a simple version of the conjugate gradient (CG) method for solving a system of linear equations of the form A*x=b, suitable for situations in which the matrix A is symmetric positive definite (SPD) (only real, positive eigenvalues).

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Related Data and Programs:

cg, a C++ code which implements a simple version of the conjugate gradient (CG) method for solving a system of linear equations of the form A*x=b, suitable for situations where the matrix A is symmetric positive definite (SPD) (only real, positive eigenvalues).

Source Code:


Last revised on 16 February 2020.