This is documentation for an old release of NumPy (version 1.18). Read this page in the documentation of the latest stable release (version 2.2).
numpy.generic.trace¶
method
-
generic.
trace
()¶ Not implemented (virtual attribute)
Class generic exists solely to derive numpy scalars from, and possesses, albeit unimplemented, all the attributes of the ndarray class so as to provide a uniform API.
See also the corresponding attribute of the derived class of interest.