39. Trace

The trace of a square matrix is the sum of its main diagonal entries:

Example

39.1. Properties

39.2. Trace as inner product

For matrices, the Frobenius inner product is defined via the trace:

It induces the Frobenius norm .

39.3. Where it shows up