DMarkovChain

constructor(theInitialState: Int = 1, transMatrix: Array<DoubleArray>, stream: RNStreamIfc = KSLRandom.nextRNStream())

Parameters

theInitialState

the initial state

transMatrix

the single step transition matrix

stream

the random number stream