1% pi = QBDStationaryDistr (pi0, R, K)
3% Returns the stationary distribution of a QBD up to a
8% pi0 : matrix, shape (1,N)
9% The stationary probability vector of level zero
10% R : matrix, shape (N,N)
11% The matrix parameter of the matrix geometrical
12% distribution of the QBD
14% The stationary distribution
is returned up to
19% pi : array, length (K+1)*N
20% The stationary probability vector up to level K
22function pi = QBDStationaryDistr (pi0, R, K)
25 pi = zeros(1,(K+1)*m);
30 pi(k*m+1:(k+1)*m) = pix;