[Numpy-discussion] inplace matrix multiplication

Frédéric Bastien nouiz at nouiz.org
Tue Jan 13 09:27:37 EST 2009


Thanks, and sorry for the delayed reply.

Fred

On Fri, Jan 9, 2009 at 4:31 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Fri, Jan 9, 2009 at 08:25, Frédéric Bastien <nouiz at nouiz.org> wrote:
> > Hi,
> >
> > I would like to know how I can make a call to the blas function gemm in
> > numpy. I need a multiply and accumulate for matrix and I don't want to
> > allocate a new matrix each time I do it.
>
> You can't in numpy. With scipy.linalg.fblas.dgemm() and the right
> arguments, you can.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090113/bd7cc1e6/attachment.html>


More information about the NumPy-Discussion mailing list