Linear Algebra Done Right
《Linear Algebra Done Right》 · 第 326 页 · Section 8D「Trace」,Definition 8.47
Suppose $A$ is a square matrix with entries in $F$. The trace of $A$, denoted by $\operatorname{tr}A$, is defined to be the sum of the diagonal entries of $A$.