powered by
Trace(m)
m <- matrix(c(1, 0, 0, 1), 2, 2) Trace(m)
Run the code above in your browser using DataLab