tr {SteinIV} | R Documentation |
Trace of a matrix.
Description
Compute the trace of a square matrix.
Usage
tr(X)
Arguments
X |
Numeric: A square matrix. |
Details
This computes the sum of the diagonal elements of a square matrix.
Value
numeric |
A real number. |
Author(s)
Cedric E. Ginestet <cedric.ginestet@kcl.ac.uk>
[Package SteinIV version 0.1-1 Index]