%**% | R Documentation |
Operator wrapper around C++ efficient_matrix_mult()
for matrix multiplication syntax.
This is an internal function meant to provide improvement over base R's operator for certain large matrix operations, at a cost of potential slight slowdown for smaller problems.
x %**% y
x |
Left matrix |
y |
Right matrix |
Matrix product of x and y
M1 <- matrix(1:4, 2, 2)
M2 <- matrix(5:8, 2, 2)
M1 %**% M2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.