[ Web Proxy ]
URL:
Viewing: https://numpy.org/doc/stable/reference/generated/../generated/numpy.ma.trace.html [Back]  [Original]

numpy.ma.trace — NumPy v2.5 Manual
Back to top
Search the docs ...:

numpy.ma.trace#

ma.trace(self, offset=0, axis1=0, axis2=1, dtype=None, out=None) a.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None)[source]#
ma.trace(offset=0, axis1=0, axis2=1, dtype=None, out=None) → None

Return the sum along diagonals of the array.

Refer to numpy.trace for full documentation.

See also

numpy.trace

equivalent function


Web Proxy Viewer  |  New URL  |  Original Page