Description Usage Arguments Note See Also Examples
Computes the trace of a square numeric matrix A.
1 | tr(A)
|
A |
Square matrix. |
If the argument is not a square numeric matrix, the function presents an error and terminates.
Other matrix:
special.matrix
,
vec()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.