[Numpy-discussion] Element-by-element matrix multiplication (original) (raw)
Keith Goodman kwgoodman at gmail.com
Wed Jun 21 13:16:44 EDT 2006
- Previous message (by thread): [Numpy-discussion] Bug with cumsum(dtype='f8')?
- Next message (by thread): [Numpy-discussion] Element-by-element matrix multiplication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
- Previous message (by thread): [Numpy-discussion] Bug with cumsum(dtype='f8')?
- Next message (by thread): [Numpy-discussion] Element-by-element matrix multiplication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]