powered by
Return the trace of a square matrix
tr(x, ...)
The trace, the sum of the diagonal elements, of the square matrix x
x
a square matrix
arguments passed to sum
sum