Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does Sage have a function that generates a random double stochastic matrix in which the elements of each row and each column add to one?

Each element is a random probability and no elements are negative.