R/linalg.r
linalg-trace.Rd
Matrix trace, i.e. theh sum of the diagonal elements.
linalg_trace(x)
Input data.
Returns the trace.