Description Usage Arguments Value Author(s) See Also Examples
Sum of the diagonal of a square matrix.
1 | tr(x)
|
x |
A p \times p matrix. |
Returns the sum of the diagonal of a square matrix.
Ivan Jacob Agaloos Pesigan
Other matrix functions:
cor2cov()
,
low2sym()
,
up2sym()
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.