where , and .
This stochastic matrix admit as stationary distribution :
Take for example :
and
, we obtain the transition matrix :
Look three importation possibilities in PSI :
Note that it can be important to specify several decimal values to avoid numerical problems in Aliasing construction.
After precomputation, we obtain a '2states.simu' file (modulo row permutations) :