wilkinson | R Documentation |
Generate the Wilkinson matrix of size n x n
.The Wilkinson matrix for
testing eigenvalue computations
wilkinson(n)
n |
integer |
The Wilkinson matrix for testing eigenvalue computations is a symmetric matrix with three non-zero diagonals and with several pairs of nearly equal eigenvalues.
matrix of size n x n
The two largest eigenvalues of wilkinson(21)
agree to 14, but not 15
decimal places.
Toeplitz
(a <- wilkinson(7))
eig(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.