**cg_squared_test**,
a MATLAB code which
calls cg_squared(), which
implements the conjugate gradient squared method (CGS) method
for solving a nonsymmetric sparse linear system.

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

cg_squared, a MATLAB code which implements the conjugate gradient squared method (CGS) method for solving a nonsymmetric sparse linear system.

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

- cg_squared_helmert.m, solves a system involving the Helmert matrix.
- cg_squared_invol.m, solves a system involving the involutary matrix.
- cg_squared_lesp.m, solves a system involving the Lesp matrix.