Compute the Trace of a Matrix
Function computes the sum of main-diagonal elements of a square matrix.
Trace(x, quiet = FALSE)
x |
(matrix, Matrix) object |
quiet |
(logical) TRUE = will suppress any warning, which will be issued otherwise |
(numeric) value, the trace of the matrix
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.