**cg_test**,
a MATLAB code which
calls cg(), 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 in which the matrix A is positive definite
(only real, positive eigenvalues) and symmetric.

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

cg, a MATLAB 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 positive definite (only real, positive eigenvalues) and symmetric.

- cg_test.m, a sample calling program.
- cg_test.sh, runs all the tests.
- cg_test.txt, the output file.