**cg_rc_test**,
a MATLAB code which
calls cg_rc(), which
implements the conjugate gradient (CG) method for solving
a positive definite sparse linear system A*x=b,
using reverse communication (RC).

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

cg_rc, a MATLAB code which implements the conjugate gradient (CG) method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication (RC).

- cg_rc_test.m, calls all the tests.
- cg_rc_test.sh, runs all the tests.
- cg_rc_test.txt, the output file.

- cg_rc_test01.m, uses the 1, -2, 1 matrix.
- cg_rc_test02.m, uses the Wathen matrix.