Trace
The sum of the diagonal entries of a square matrix.
In ML papers
. It equals the sum of the eigenvalues, and is a handy way to write the sum of an elementwise product, which is how many matrix-calculus derivations are done. .
How to type it
| LaTeX | Shows |
|---|---|
\operatorname{tr}(A) | |
\mathrm{Tr}(A) |