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

Bill Baxter 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.

--bb

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
> permission.
>
> OK. Done. I also added a notice about SciPy's PayPal account being
> suspended.
>
> 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
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>



-- 
William V. Baxter III
OLM Digital
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...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060622/92ed33d8/attachment.html>


More information about the NumPy-Discussion mailing list