Skip to content

trace

linear-algebra · scripts/linear-algebra/trace.m

: t = trace (A)

Sum of the diagonal elements of the square matrix A.