Description Usage Arguments Value Examples
View source: R/tr.R
Trace
1
tr(mat)
mat
a matrix
a numerical value; the sum of the diagonals
tr(matrix(c(1,2,3,4), nrow=2))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.