Multiplies two random matrices, if they are conformable. If one argument is a vector, it will be coerced to either a row or column matrix to make the two arguments conformable. If both are vectors it will return the inner product.
1 2 3
## S3 method for class 'rv' x %*% y x %**% y
numeric or complex matrices or vectors.
Optimized internally for the case of random matrix multiplied by a constant column vector.
The (distribution of the) matrix product.
drop to get rid of dimensions
which have only one level.
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.