sparse_test, a Python code which tests the scipy.sparse() functions which create sparse matrices and carry out linear algebraic functions on them.


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


sparse_test is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

test_matrix, a Python code which defines test matrices for which the condition number, determinant, eigenvalues, eigenvectors, inverse, null vectors, P*L*U factorization or linear system solution are known. Examples include the Fibonacci, Hilbert, Redheffer, Vandermonde, Wathen and Wilkinson matrices.

Source Code:

Last revised on 26 October 2021.