Trace of a square matrix

For a matrix $A$, the trace of $A$, denoted as $\mrm{trace}(A)$, is the sum of the diagonal elements of $A$, $$ \mrm{trace}(A) = A_{ii}. $$

Properties: