Description Usage Arguments Value Examples
Sum of matrix columns weighted by a vector
1 | matrix_times_vector(m1, v1)
|
m1 |
a matrix |
v1 |
a vector |
a vector
1 2 3 4 5 6 | ## Not run:
m0 <- matrix(1:9, nrow = 3); m0
v0 <- c(0.2, 0.2, 0.9); v0
matrix_times_vector( m0, v0 )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.