Rdocumentation
powered by
Learn R Programming
VCA (version 1.2.1)
Trace: Compute the Trace of a Matrix.
Description
Function computes the sum of main-diagonal elements of a squared matrix.
Usage
Trace(x)
Arguments
x
(matrix, Matrix) object
Value
(numeric) value, the trace of the matrix