A matrix, much used for example in simulation, modelling, and communication theory, in which every row is a probability distribution, i.e. every element lies between 0 and 1, and the sum of the elements of each row is unity. A doubly stochastic matrix is a stochastic matrix whose transpose is a stochastic matrix.