Ch-10-Prob-7-Old-이승진

1838 days ago by matrix

A=matrix(5,5,[1,3,-6,4,3,0,1,2,8,2,0,0,2,0,-8,0,0,0,1,1,0,0,0,0,4]) I=identity_matrix(5) print 5-((A-I).rank()) print J=A.jordan_form() print J 
       
1

[4|0|0 0 0]
[-+-+-----]
[0|2|0 0 0]
[-+-+-----]
[0|0|1 1 0]
[0|0|0 1 1]
[0|0|0 0 1]
1

[4|0|0 0 0]
[-+-+-----]
[0|2|0 0 0]
[-+-+-----]
[0|0|1 1 0]
[0|0|0 1 1]
[0|0|0 0 1]