Returns trace of a matrix.
a numeric matrix.
tr computes the trace of a square matrix which
is the sum of the diagonal elements of the matrix under consideration.
Golub, van Loan, (1996); Matrix Computations, 3rd edition. Johns Hopkins University Press.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.