Re: [Numpy-discussion] Calling BLAS functions from Python

2019-08-27 Thread Jens Jørgen Mortensen
On 8/27/19 2:49 PM, Andras Deak wrote: On Tue, Aug 27, 2019 at 1:18 PM Jens Jørgen Mortensen wrote: Hi! I'm trying to use dgemm, zgemm and friends from scipy.linalg.blas to multiply matrices efficiently. As an example, I'd like to do: c += a.dot(b) using whatever BLAS scipy is

Re: [Numpy-discussion] Calling BLAS functions from Python

2019-08-27 Thread Andras Deak
On Tue, Aug 27, 2019 at 1:18 PM Jens Jørgen Mortensen wrote: > > Hi! > > I'm trying to use dgemm, zgemm and friends from scipy.linalg.blas to > multiply matrices efficiently. As an example, I'd like to do: > > c += a.dot(b) > > using whatever BLAS scipy is linked to and I want to avoid

[Numpy-discussion] Calling BLAS functions from Python

2019-08-27 Thread Jens Jørgen Mortensen
Hi! I'm trying to use dgemm, zgemm and friends from scipy.linalg.blas to multiply matrices efficiently. As an example, I'd like to do: c += a.dot(b) using whatever BLAS scipy is linked to and I want to avoid copies of large matrices. This works the way I want it: >>> import numpy as