Matrix Multiplication

sturlamolden sturlamolden at yahoo.no
Mon Jun 18 12:28:14 EDT 2007


On Jun 18, 11:20 am, Jeremy Sanders <jeremy
+complangpyt... at jeremysanders.net> wrote:

> > NumPy has a matrix type that overloads the * operator.

> Just a tiny followup, which may be important unless you carefully read the
> documentation. The "*" operator doesn't do matrix multiplication for normal
> numpy arrays


That's what I wrote: "NumPy has a matrix type." It is called called
numpy.matrix.

I did not suggest using the array type numpy.array.

Reading carefully is indeed important...










More information about the Python-list mailing list