Ch-3.1-exam-9-new-오충헌

1921 days ago by matrix

A=matrix(QQ,[[1,2,3,4], [4,5,6,0]]) B=matrix(QQ,[[1,2],[3,1]]) C=matrix(QQ,[[7,6],[5,4],[3,2],[2,1]]) D=matrix(QQ,[[4,3,0,1]]) E=matrix(QQ,[[2],[0],[3],[4]]) print A.transpose() # Transpose of a matrix A.transpose() print print B.transpose() print print C.transpose() print print D.transpose() print print E.transpose() 
       
[1 4]
[2 5]
[3 6]
[4 0]

[1 3]
[2 1]

[7 5 3 2]
[6 4 2 1]

[4]
[3]
[0]
[1]

[2 0 3 4]
[1 4]
[2 5]
[3 6]
[4 0]

[1 3]
[2 1]

[7 5 3 2]
[6 4 2 1]

[4]
[3]
[0]
[1]

[2 0 3 4]