Untitled

1850 days ago by matrix

A=matrix(QQ, [[1, 0, 0], [1, 2, 0], [4, 2, 1]]) print A.eigenvalues() #고유값 print A.eigenvectors_right() #고유벡터 print A.is_diagonalizable() #대각화 가능 or 불가능 
       
[2, 1, 1]
[(2, [
(0, 1, 2)
], 1), (1, [
(0, 0, 1)
], 2)]
False
[2, 1, 1]
[(2, [
(0, 1, 2)
], 1), (1, [
(0, 0, 1)
], 2)]
False