diff options
author | Hameer Abbasi <hameerabbasi@yahoo.com> | 2018-04-24 15:44:17 +0200 |
---|---|---|
committer | Hameer Abbasi <hameerabbasi@yahoo.com> | 2018-04-24 15:44:17 +0200 |
commit | 6b728d19150f013ba885451f79990c30e872fe8f (patch) | |
tree | 328b9aa86e348719bc40727594c4cfb28251de44 /doc | |
parent | ac76793dafcd6e5f24ed052fc40413f29ebc5306 (diff) | |
download | numpy-6b728d19150f013ba885451f79990c30e872fe8f.tar.gz |
ENH: Implement initial kwarg for ufunc.add.reduce
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.15.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst index 49e8ab22d..a6b23b892 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -158,6 +158,12 @@ Added experimental support for the 64-bit RISC-V architecture. Improvements ============ +``np.ufunc.reduce`` and related functions now accept an initial value +--------------------------------------------------------------------- +``np.ufunc.reduce``, ``np.sum``, ``np.prod``, ``np.min`` and ``np.max`` all +now accept an ``initial`` keyword argument that specifies the value to start +the reduction with. + ``np.flip`` can operate over multiple axes ------------------------------------------ ``np.flip`` now accepts None, or tuples of int, in its ``axis`` argument. If |