Trace

The trace of a square matrix is the sum of all its diagonal elements: