[Numpy-discussion] Proposal: Chaining np.dot with mdot helper function

Stefan Otte stefan.otte at gmail.com
Thu Feb 20 05:34:52 EST 2014


Hey,

so I propose the following.  I'll implement a new function `mdot`.
Incorporating the changes in `dot` are unlikely. Later, one can still include
the features in `dot` if desired.

`mdot` will have a default parameter `optimize`.  If `optimize==True` the
reordering of the multiplication is done.  Otherwise it simply chains the
multiplications.

I'll test and benchmark my implementation and create a pull request.

Cheers,
 Stefan



More information about the NumPy-Discussion mailing list