diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-12-04 08:27:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 08:27:42 -0800 |
commit | 82428bb72589c6fd781689feb1f501a6a29c6fdc (patch) | |
tree | 970eb9cc1f850ad9b0e71be136cebcf302a5c636 /doc | |
parent | 2562e52fe1720ea4c451f45c6a279e6422ca5ff0 (diff) | |
parent | 18476f5285bdd3f1405086e37240a9bd2640ff16 (diff) | |
download | numpy-82428bb72589c6fd781689feb1f501a6a29c6fdc.tar.gz |
Merge pull request #12219 from mattip/matmul-as-ufunc2
ENH: make matmul into a ufunc
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.16.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst index 0907bba11..ac689c21b 100644 --- a/doc/release/1.16.0-notes.rst +++ b/doc/release/1.16.0-notes.rst @@ -382,6 +382,12 @@ This replaces ``np.array(some_nd_pointer)``, which stopped working in 1.15. As a side effect of this change, ``ndpointer`` now supports dtypes with overlapping fields and padding. +``matmul`` is now a ``ufunc`` +----------------------------- +`numpy.matmul` is now a ufunc which means that both the function and the +``__matmul__`` operator can now be overridden by ``__array_ufunc__``. Its +implementation has also changed, ensuring it uses the same BLAS routines as +`numpy.dot`, ensuring its performance is similar for large matrices. Changes ======= |