This is a Java applet which generates a diagonally dominant, tridiagonal M-matrix which is ill-conditioned for small values of the parameter THETA>=0. All rows except the first and last have |A(i,i)| = |A(i,i-1)| + |A(i,i+1)|. The first and last rows are strictly diagonally dominant by THETA*(N+1)^{2}, e.g. |A(1,1)| = |A(1,2)| + THETA*(N+1)^{2}.

This generator was developed by Bruce Miller of NIST based on Nick Higham's Test Matrix Toolbox for MATLAB.