diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2016-01-06 16:50:44 -0500 |
---|---|---|
committer | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2016-01-06 16:55:01 -0500 |
commit | fbdc1ae92edbb43e0c25bd3acc5a06723c3f7761 (patch) | |
tree | 3495b4b8f05a30a8451451bf11b10d1e7d730526 /doc | |
parent | 55b5972174a93012d6c198e25080c9b8d4c01f8f (diff) | |
download | numpy-fbdc1ae92edbb43e0c25bd3acc5a06723c3f7761.tar.gz |
Release note entry for change in behaviour for np.trace.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.11.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.11.0-notes.rst b/doc/release/1.11.0-notes.rst index e66e680d3..54b6874cc 100644 --- a/doc/release/1.11.0-notes.rst +++ b/doc/release/1.11.0-notes.rst @@ -145,6 +145,12 @@ a single array. This change obsoletes distinctions like Instead, ``np.broadcast`` can be used in all cases. +*np.trace* now respects array subclasses +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +This behaviour mimics that of other functions such as ``np.diagonal`` and +ensures, e.g., that for masked arrays ``np.trace(ma)`` and ``ma.trace()`` give +the same result. + Deprecations ============ |