R/tr.r
tr.Rd
This function computes the trace of a matrix.
tr(M)
square matrix
The trace of the matrix M.
Nicole Kraemer
M<-matrix(rnorm(8*8),ncol=8) tr.M<-tr(M)