**jordan_random**,
a MATLAB code which
returns a random matrix in Jordan canonical form.

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

**jordan_random** is available in
a MATLAB version.

test_mat, a MATLAB code which defines test matrices for which some of the determinant, eigenvalues, inverse, null vectors, P*L*U factorization or linear system solution are already known, including the vandermonde and Wathen matrix.

- compnz_random.m selects a random composition of integer N into K nonzero parts.
- jordan_random.m returns a random jordan matrix.
- ksub_random.m selects a random subset of size K from a set of size N.