traceproduct | R Documentation |
Returns the trace of the product of two matrices.
TraceProduct(A, B, b.is.symmetric = FALSE)
A |
The first matrix in the product. |
B |
The second matrix in the product. |
b.is.symmetric |
Logical. A |
Returns a number equivalent to sum(diag(A %*% B))
.
Steven L. Scott steve.the.bayesian@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.