numpy.ma.trace — NumPy v1.13 Manual (
original
) (
raw
)
Return the sum along diagonals of the array.
Refer to
numpy.trace
for full documentation.