Differences between revisions 1 and 2
Revision 1 as of 2010-12-17 12:40:06
Size: 519
Editor: ch.sandeep
Comment:
Revision 2 as of 2010-12-17 18:59:10
Size: 562
Editor: ch.sandeep
Comment:
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
       *V.Vishnu Sarma, student, GITAM University
  • Book

    Linear Algebra

    Author

    Gilbert Strang

    Edition

A=matrix([[1, 0],[2, 1]])
B=matrix([[1, 2],[0, 1]])
print '---A---'
print A
print '---B---'
print B
print '---AB---'
print A * B
print '---BA---'
print B * A
print 'inverse A'
print A.inverse()
print 'inverse B'
print B.inverse()
print 'inverse of AB'
X = A * B
print X.inverse()

  • Solution by:

    • Ch.Sandeep, student, GITAM University
    • V.Vishnu Sarma, student, GITAM University

Strang-1.7-1.2-U (last edited 2010-12-17 18:59:10 by ch.sandeep)