%&% | R Documentation |
Calculate the quadratic form
Q=x^{\prime}Ax
A %&% x
A |
A square matrix |
x |
A vector or matrix |
The quadratic product
diag(5) %&% 1:5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.