A=matrix([[4,3],[7,2],[9,0]])
B=matrix([[2,5],[1,6]])
print A
print '-------'
print B
print '-------'
print A*B
print 'B*A is not posible'

Kreyszig-6.2-1 (last edited 2010-12-17 10:44:44 by jejiramchand)