#15.
a = matrix(QQ,[3,0,4])
b = matrix(QQ,[-1,8,2])
c = matrix(QQ,3,[9,5,7])
d = matrix(QQ,3,[2,-2,6])
print 6*a-5*a
print transpose(transpose(a))-a
#transpose(a)-a
print "undefined since order of a is not equal to order of transpose of a"

SageDays/Kreyszig-6.1-15 (last edited 2010-08-11 12:37:33 by Grishalda)