[Numpy-discussion] Element-by-element matrix multiplication
wbaxter at gmail.com
Wed Jun 21 18:40:47 EDT 2006
Actually I think using mat() (just an alias for the matrix constructor) is a
bad way to do it. That mat() (and most others on that page) should probably
be replaced with asmatrix() to avoid the copy.
On 6/22/06, Keith Goodman <kwgoodman at gmail.com> wrote:
> On 6/21/06, Robert Kern <robert.kern at gmail.com> wrote:
> > Keith Goodman wrote:
> > > 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)
> > It is a wiki page. You may edit it yourself without needing to ask
> OK. Done. I also added a notice about SciPy's PayPal account being
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
William V. Baxter III
Kono Dens Building Rm 302
1-8-8 Wakabayashi Setagaya-ku
Tokyo, Japan 154-0023
+81 (3) 3422-3380
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion