A=matrix([[1,0],[9,3]])
print A
print 'transpose for given matrix is'
x1=A.transpose()
print x1
print 'the inverse matrix is'
x2=A.inverse()
print 'transpose of inverse is'
print x2.transpose() 
print 'inverse of transpose matrix is'
print x1.inverse()
var('c')
B=matrix([[1,c],[c,0]])
print B
x3=B.transpose()
print x3
x4=B.inverse()
print x4
x5=x4.transpose()
print x5
x6=x3.inverse()
print x6

Strang-1.6-18 (last edited 2010-12-18 12:05:51 by manikanta)