[SciPy-user] Re: [SciPy-dev] matrixmultiply()

Alan G Isaac aisaac at american.edu
Fri Apr 8 18:11:53 CDT 2005


On Fri, 08 Apr 2005, David Grant apparently wrote: 
> Can anyone tell me why the * operation on matrices is for element-wise 
> multiplcation and not matrix multiplication for Numeric/numpy arrays? 

Because they're arrays.

> Or at least tell me a nice way to do A*B*C*D*E*F, where the * denotes 
> matrix multiplication.

Try matrices.
>>> from scipy import *
>>> help(mat)

hth,
Alan Isaac






More information about the SciPy-user mailing list