Ch-10-기말-1-New-이승진

1833 days ago by matrix

A=matrix(4,4,[2,-4,2,2,-2,0,1,3,-2,-2,3,3,-2,-6,3,7]) I=identity_matrix(4) print A.eigenvalues() print print (A-4*I).rank() print ((A-4*I)^2).rank() print print (A-2*I).rank() 
       
[4, 4, 2, 2]

3
2

2
[4, 4, 2, 2]

3
2

2