def trace(self, offset=0, wrap=False) :
        return sum(self.diagonal(offset, wrap))
a.trace([offset=0[, wrap=False]]) -> float
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/arrays.py/MatrixN.trace