Description Usage Arguments Details Value Author(s) Examples
Returns the sum of the diagonal elements of a matrix.
1 | tr(X)
|
X |
A matrix whose diagonal elements will be added together. |
This returns the trace of a matrix, which is just the sum of its diagonal elements.
The sum of the diagonal elements of X.
Peter Hoff.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.