Trace of an array.
See also numpy.ndarray.trac().
numpy.ndarray.trac()
treams.SMatrix.swapaxes
treams.SMatrix.transpose