The trace of an n×n matrix is the sum of the diagonal elements. This operation applies to square matrices only.
To compute the trace of a square matrix
Trace
, trace: a + d
, trace: 61