powered by
Calculates and returns the trace of a square matrix.
tr(x)
A matrix that is square e.g. \(N \times N\)
matrix
A matrix with circles imprinted within its dimensions.
# NOT RUN { # I_2 matrix tr(diag(2)) # }
Run the code above in your browser using DataLab