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

Keith Goodman kwgoodman at gmail.com
Wed Jun 21 12:16:44 CDT 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