abs_eigenvals | R Documentation |
Calculates the absolute eigenvalues of a matrix
abs_eigenvals(A)
A |
matrix matrix |
The absolute eigenvalues of A
# symmetric matrix # should equal 2.5, 1.5 abs_eigenvals(matrix(c(2, 0.5, 0.5, 2), nrow = 2, ncol = 2)) # non-symmetric matrix # should equal 10, 10, 5 abs_eigenvals(matrix(c(9, -1, 2, -2, 8, 4, 1, 1, 8), nrow = 3, ncol = 3, byrow = T))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.