On Thu, 2017-05-18 at 15:04 +0200, marc wrote:
> Dear Numpy developers,
> I'm trying to add a routine to calculate the sum of a product of two
> arrays (a dot product). But that would not increase the memory (from
> what I saw np.dot is increasing the memory while it should not be
> necessary). The
Hello Marten,
Thank you for your help, effectively, the example that you propose is
much easier to imitate, I can now continue further.
Thanks,
Marc
On 05/18/2017 04:32 PM, Marten van Kerkwijk wrote:
Hi Marc,
ufuncs are quite tricky to compile. Part of your problem is that, I
think, you sta
Hi Marc,
ufuncs are quite tricky to compile. Part of your problem is that, I
think, you started a bit too high up: `divmod` is also a binary
operation, so that part you do not need at all. It may be an idea to
start instead with a PR that implemented a new ufunc, e.g.,
https://github.com/numpy/num
Dear Numpy developers,
I'm trying to add a routine to calculate the sum of a product of two
arrays (a dot product). But that would not increase the memory (from
what I saw np.dot is increasing the memory while it should not be
necessary). The idea is to avoid the use of the temporary array in