Generate the Wilkinson matrix of size n x n.The Wilkinson matrix for
testing eigenvalue computations

Usage

wilkinson(n)

Arguments

n

integer

Value

matrix of size n x n

Details

The Wilkinson matrix for testing eigenvalue computations is a symmetric
matrix with three non-zero diagonals and with several pairs of nearly equal
eigenvalues.