Matrix Multiplication

sturlamolden sturlamolden at
Mon Jun 18 00:19:08 CEST 2007

On Jun 17, 10:52 pm, "amitsoni.1... at" <amitsoni.
1... at> wrote:
> Hi,
> Is there any direct function for matrix multiplication in Python or
> any of its packages? or do we have to multiply element by element?

Use numpy:

NumPy has a matrix type that overloads the * operator.

More information about the Python-list mailing list