Simulate from a continuous time markov chain

ctmc_sim_exact(x, Q, n)

Arguments

x

an integer, the initial state

Q

a transition rate matrix

n

the number of transitions to simulates

Value