Project Homepage
|
Source Code
2.5
Install
Tutorial
Gallery
Reference
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Drawing
Randomness
Exceptions
Utilities
Helper Functions
Data Structures and Algorithms
Random Sequence Generators
Decorators
Cuthill-Mckee Ordering
Glossary
Developer Guide
Release Log
License
About Us
Citing
Bibliography
NetworkX
»
Reference
»
Utilities
»
networkx.utils.random_sequence.powerlaw_sequence
networkx.utils.random_sequence.powerlaw_sequence
¶
powerlaw_sequence
(
n
,
exponent
=
2.0
,
seed
=
None
)
[source]
¶
Return sample sequence of length n from a power law distribution.