Skip to main content
Back to top
Ctrl
+
K
安装
教程
Reference
Gallery
Developer
发布版本
Guides
Home Page
GitHub
安装
教程
Reference
Gallery
Developer
发布版本
Guides
Home Page
GitHub
Section Navigation
引言
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Drawing
随机性
Exceptions
Utilities
arbitrary_element
flatten
make_list_of_ints
dict_to_numpy_array
pairwise
groups
create_random_state
create_py_random_state
nodes_equal
edges_equal
graphs_equal
UnionFind.union
powerlaw_sequence
cumulative_distribution
discrete_sequence
zipf_rv
random_weighted_sample
weighted_choice
open_file
not_implemented_for
nodes_or_number
np_random_state
py_random_state
networkx.utils.decorators.argmap
cuthill_mckee_ordering
reverse_cuthill_mckee_ordering
networkx.utils.mapped_queue.MappedQueue
后端和配置
术语表
Reference
Utilities
powerlaw_sequence
powerlaw_sequence
#
powerlaw_sequence
(
n
,
exponent
=
2.0
,
seed
=
None
)
[source]
#
返回从幂律分布中抽取的长度为n的样本序列。
On this page
powerlaw_sequence()