treams.SMatrix.trace

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

Trace of an array.

See also numpy.ndarray.trac().