def mc_compute_stationary(P):
 return MarkovChain(P).stationary_distributions

def mc_compute_stationary ( P ) : return MarkovChain ( P ) . stationary_distributions
computes stationary distributions of p .