LA+Ch+6+Ex+5+NEW+solved+by+김성찬+Finalized by 주민규

2073 days ago by jumin1046

A=matrix(4, 4, [0,0,-1,0,0,1,0,0,0,0,0,1,1,0,0,0]) print "AT*A =" print A.transpose()*A print print "inverse of A=" print A.inverse() 
       
AT*A =
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]

inverse of A=
[ 0  0  0  1]
[ 0  1  0  0]
[-1  0  0  0]
[ 0  0  1  0]
AT*A =
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]

inverse of A=
[ 0  0  0  1]
[ 0  1  0  0]
[-1  0  0  0]
[ 0  0  1  0]