Ch-7-exam-2-New-권의회

1866 days ago by matrix

A=matrix(1,4,[1,2,3,4]) print "A*A.transpose()=",A*A.transpose() print "A.transpose()*A=" print A.transpose()*A 
       
A*A.trnaspose()= [30]
A.transpose()*A=
[ 1  2  3  4]
[ 2  4  6  8]
[ 3  6  9 12]
[ 4  8 12 16]
A*A.trnaspose()= [30]
A.transpose()*A=
[ 1  2  3  4]
[ 2  4  6  8]
[ 3  6  9 12]
[ 4  8 12 16]