Description Usage Arguments Value Examples
Calculates the trace of a matrix
1 | tr(mat)
|
mat |
a square matrix. |
The trace of the matrix, i.e. the sum of its diagonal elements, is returned.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.