[Numpy-discussion] inplace matrix multiplication

Robert Kern robert.kern@gmail....
Fri Jan 9 15:31:36 CST 2009

On Fri, Jan 9, 2009 at 08:25, Frédéric Bastien <nouiz@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

More information about the Numpy-discussion mailing list