Trace of the Product of Two Matrices
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.