diff options
author | Stephan Hoyer <shoyer@gmail.com> | 2018-12-05 10:01:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 10:01:47 -0800 |
commit | 8a115731966db1d723d03b4b599a5f3587edc94b (patch) | |
tree | 71fcbd23988350d8b07ffb3607152a1fb7be4e69 /doc | |
parent | 9d416356baf4a653b2c647a921ae24ba7d39e8df (diff) | |
download | numpy-8a115731966db1d723d03b4b599a5f3587edc94b.tar.gz |
ENH: implement matmul on NDArrayOperatorsMixin (#12488)
* ENH: implement matmul on NDArrayOperatorsMixin
* MAINT: remove unnecessary pytest import
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.16.0-notes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst index ac689c21b..791cbe731 100644 --- a/doc/release/1.16.0-notes.rst +++ b/doc/release/1.16.0-notes.rst @@ -409,6 +409,13 @@ if ``np.positive(array)`` raises a ``TypeError``. For ``ndarray`` subclasses that override the default ``__array_ufunc__`` implementation, the ``TypeError`` is passed on. +``NDArrayOperatorsMixin`` now implements matrix multiplication +-------------------------------------------------------------- +Previously, ``np.lib.mixins.NDArrayOperatorsMixin`` did not implement the +special methods for Python's matrix multiplication operator (``@``). This has +changed now that ``matmul`` is a ufunc and can be overriden using +``__array_ufunc__``. + The scaling of the covariance matrix in ``np.polyfit`` is different ------------------------------------------------------------------- So far, ``np.polyfit`` used a non-standard factor in the scaling of the the |