View source: R/utile.R View source: R/RcppExports.R
sim_markov | R Documentation |
Simple matrix multiplication
Title
sim_markov(m, Pi, A)
sim_markov(m, Pi, A)
m |
size |
Pi |
initial distribution |
A |
transition matrix |
B |
Matrix |
Product of matrices
A <- matrix(1:9, 3, 3)
B <- matrix(11:19, 3, 3)
matrix_mult_cpp(A, B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.