Computes the trace of a matrix.
Trace of A
Maria Antonietta Del Ferraro email@example.com Henk A.L. Kiers firstname.lastname@example.org Paolo Giordani email@example.com
X <- matrix(rnorm(6*6),ncol=6)
trace <- tr(X)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.