mv_mult | R Documentation |
This function multiplies a matrix by a vector and returns a numeric vector.
mv_mult(A, v)
A |
an nxk matrix. |
v |
a vector (can be stored as numeric or as a kx1 matrix) |
A numeric vector resulting from the multiplication of the matrix by the vector.
A <- matrix(1:9, nrow = 3, ncol = 3)
v <- c(2, 4, 6)
mv_mult(A, v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.