[Numpy-discussion] Element-by-element matrix multiplication

Keith Goodman kwgoodman at gmail.com
Wed Jun 21 13:16:44 EDT 2006


The NumPy for Matlab Users page suggests mat(a.A * b.A) for
element-by-element matrix multiplication. I think it would be helpful
to also include multiply(a, b).

a.*b

mat(a.A * b.A) or
multiply(a, b)




More information about the NumPy-Discussion mailing list