W3cubDocs

/NumPy 2.4

numpy.record.trace

method

record.trace(/, offset=0, axis1=0, axis2=1, dtype=None, out=None)

Scalar method identical to ndarray.trace.

© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.record.trace.html