eigenvalues
Compues the eigenvalues of a matrix.
Syntax
-
eigenvalues(A)
-
A
is a square matrix
-
Description
If A
is a square matrix, then eigenvalues(A)
returns the vector of the eigenvalues of A
ordered by modulus from greatest to smallest.
Examples
A ≔ ❨❨2, −2, 6, 1❩, ❨−2, 2, 0, 1❩, ❨6, 0, 2, 2❩, ❨1, 1, 2, 2❩❩
⎛ 2 −2 6 1⎞ ⎜−2 2 0 1⎟ ⎜ 6 0 2 2⎟ ⎝ 1 1 2 2⎠
eigenvalues(A)
⎛8.84007170783 ⎞ ⎜−4.35419040647⎟ e⎜3.29323039947 ⎟ ⎝0.22088829918 ⎠