Discussion:
[Numpy-discussion] Support of @= in numpy?
Hans Larsen
2015-12-26 16:06:29 UTC
Permalink
I have a Python3.5.1 64bits on Windows 10 same bit-length!
I want to knowing when and what version of numpy, that support @= ?
I have a functional numpy-1-10-1!=-O
--
Hans Larsen Galgebakken Sønder 4-11A 2620 Albertslund Danmark/Danio
Charles R Harris
2015-12-26 16:26:35 UTC
Permalink
Post by Hans Larsen
I have a Python3.5.1 64bits on Windows 10 same bit-length!
I have a functional numpy-1-10-1!=-O
May I suggest numpy 1.10.2? Numpy 1.10.1 has some nasty bugs.

In any case, we support the `@` operator in 1.10, but not the `@=`
operator. The `@=` operator is tricky to have true inplace matrix
multiplication, as not only are elements on the left overwritten, but the
dimensions need to be preserved.

Chuck
Hans Larsen
2015-12-26 17:52:23 UTC
Permalink
Post by Hans Larsen
I have a Python3.5.1 64bits on Windows 10 same bit-length!
I have a functional numpy-1-10-1!=-O
May I suggest numpy 1.10.2? Numpy 1.10.1 has some nasty bugs.
multiplication, as not only are elements on the left overwritten, but
the dimensions need to be preserved.
Chuck
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
Hans Larsen Galgebakken Sønder 4-11A 2620 Albertslund Danmark/Danio
Sturla Molden
2015-12-27 15:18:04 UTC
Permalink
Post by Charles R Harris
multiplication, as not only are elements on the left overwritten, but the
dimensions need to be preserved.
As long as we use BLAS, we can never have true inplace matrix
multiplication because Fortran prohibits pointer aliasing. We therefore
need to make a temporary copy before we call BLAS.

But as for preserving dimensions: This should be allowed if the array is
square.

Sturla

Loading...