Matrix Multiplication

sturlamolden sturlamolden at yahoo.no
Mon Jun 18 00:19:08 CEST 2007


On Jun 17, 10:52 pm, "amitsoni.1... at gmail.com" <amitsoni.
1... at gmail.com> 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: www.scipy.org

NumPy has a matrix type that overloads the * operator.






More information about the Python-list mailing list