numpy.ma.MaskType.trace

method

ma.MaskType.trace()

Scalar method identical to the corresponding array attribute.

Please see ndarray.trace.