Ch-4.1-exam-5-Final-이승진

1905 days ago by matrix

A=matrix(QQ, 2, 2, [0, 1, 2, 3]) print "det(A)= ", A.det() B=matrix(QQ, 3, 3, [0, 1, -2, 3, 4, -5, 6, 7, -8]) print "det(B)= ", B.det() 
       
det(A)=  -2
det(B)=  0
det(A)=  -2
det(B)=  0