Geometric multiplicities
Is there any function to find the geometric multiplicities of an eigenvalue of a matrix?
Is there any function to find the geometric multiplicities of an eigenvalue of a matrix?
Example:
A = Matrix([[2,0,0,0],[1,2,0,0],[0,1,3,0],[0,0,1,3]])
for (l, E) in A.right_eigenspaces():
print('Eigenvalue', l, 'has geometric multiplicity', E.dimension())
Output:
Eigenvalue 3 has geometric multiplicity 1
Eigenvalue 2 has geometric multiplicity 1
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-03-23 16:00:31 +0100
Seen: 209 times
Last updated: Mar 23 '23