Trace
Linear algebra
In linear algebra, the trace of a square matrix A, denoted tr, is defined to be the sum of elements on the main diagonal of A. The trace is only defined for a square matrix.
It can be proven that the trace of a matrix is the sum of its... Wikipedia