numpy.ma.MaskType.trace#

method

ma.MaskType.trace(/, offset=0, axis1=0, axis2=1, dtype=None, out=None)#

Scalar method identical to ndarray.trace.