IsEigenvector
Tests if a vector is an eigenvector of a matrix.
Syntax
-
IsEigenvector(A, v, [, ε])-
Ais a square matrix -
vis a vector -
εis a positive number
-
Description
IsEigenvector(A, v, ε) returns true iff v is an eigenvector of A with floating-point comparisons made with epsilon ε.
Examples
A ≔ ❨❨1, −1, −1, 1❩, ❨−1, 0, 0, 1❩, ❨−1, 0, 2, 0❩, ❨1, 0, 0, 2❩❩
⎛ 1 −1 −1 1⎞ ⎜−1 0 0 1⎟ ⎜−1 0 2 0⎟ ⎝ 1 0 0 2⎠
IsEigenvector(A, ❨1, 0, −1, 1❩)
true