tracemp | R Documentation |
Fast computation of the trace of the matrix product trace(t(A)
tracemp(A, B)
A |
A matrix with dimensions n*k. |
B |
A matrix with dimenions n*k. |
The trace of the matrix product
Claus Ekstrom <claus@rprimer.dk>
A <- matrix(1:12, ncol=3)
tracemp(A, A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.