h_tr {mmrm} | R Documentation |
Trace of a Matrix
Description
Obtain the trace of a matrix if the matrix is diagonal, otherwise raise an error.
Usage
h_tr(x)
Arguments
x |
( |
Value
The trace of the square matrix.
[Package mmrm version 0.3.15 Index]