Description Usage Arguments Value Methods (by class) Author(s)
Methods to efficiently calculate a matrix trace depending on the class of matrix.
| 1 2 3 4 5 6 7 8 9 10 | 
| X | A matrix. | 
| ... | Additional arguments. | 
A numeric value for the sum of the diagonal elements.
default: Default method
dgCMatrix: Method for matrix X of class Matrix:::dgCMatrix
dsCMatrix: Method for matrix X of class Matrix:::dsCMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.