3% Computes the stationary solution of a discrete time
8%
P : matrix, shape (M,M)
9% The matrix parameter of the rational process
13% pi : row vector, shape (1,M)
14% The vector that satisfies
15% `\pi\,
P = \pi, \sum_i \pi_i=1`
19% Discrete time rational processes are like discrete time
20% Markov chains, but the
P matrix does not have to pass
21% the :func:`CheckProbMatrix` test (but the rowsums still
24function pi = DRPSolve (
P)
26 pi = CRPSolve(
P-eye(size(
P)));