powered by
tr(a)
A
X <- matrix(rnorm(6*6),ncol=6) trace <- tr(X)
Run the code above in your browser using DataLab