Calculates the trace of a square numeric matrix, i.e., the sum of its diagonal elements
a numeric matrix
a numeric value, the sum of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.