NetworkX

Previous topic

networkx.utils.pareto_sequence

Next topic

networkx.utils.uniform_sequence

networkx.utils.powerlaw_sequence

powerlaw_sequence(n, exponent=2.0)
Return sample sequence of length n from a power law distribution.