powered by
tr(x, ...)
numeric
crossprod
tcrossprod
tr(diag(1:5))
Run the code above in your browser using DataLab