Trace(M) = Sum of elements on the principal diagonal of M:
Trace(M) = m11 + m22 + m33 + ... . M must be a matrix but it does not need to be square.
Return to Matrix and Polynomial Computations Return to Harry's Home Page