Function computes the sum of main-diagonal elements of a square matrix.
Trace(x, quiet = FALSE)
(matrix, Matrix) object
(logical) TRUE = will suppress any warning, which will be issued otherwise
(numeric) value, the trace of the matrix
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.