A=array([[1,2],[2,3]])
print(A)
D=array([[2,0],[0,5]])
print(D)
X=dot(A,D)
print(X)
Y=dot(D,A)
print(Y)
print X[:1]
print Y[0,:]
print Y[1,:]

Kreyszig-1-25-U (last edited 2010-12-17 10:52:33 by prakasam team)