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