»Click here to display Table of Contents« HyperMath > Reference Guide > HyperMath Math Reference - Categorical > Elementary Math > Miscellaneous:
Compute the trace of a matrix.
t = trace(m)
m
A scalar or a matrix.
t
The trace m (sum of the diagonal elements of m).
Compute the trace of the matrix.
t = trace([1,2;3,4])
t = 5
Diag
Sum