summaryrefslogtreecommitdiff
path: root/networkx/utils/random_sequence.py
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2017-07-22 18:42:10 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2017-07-25 22:01:54 -0700
commit793245f755f49c02b2276c176d2e86ec7dd2d9af (patch)
tree2ed6681ff0038d8d3ed9fae7bed5cbce49cedb9f /networkx/utils/random_sequence.py
parent0aa4634673a04f248b8fe45609560e35108ab152 (diff)
downloadnetworkx-793245f755f49c02b2276c176d2e86ec7dd2d9af.tar.gz
Remove pareto_sequence
Diffstat (limited to 'networkx/utils/random_sequence.py')
-rw-r--r--networkx/utils/random_sequence.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/networkx/utils/random_sequence.py b/networkx/utils/random_sequence.py
index 3bd20b46..c68d3415 100644
--- a/networkx/utils/random_sequence.py
+++ b/networkx/utils/random_sequence.py
@@ -20,13 +20,6 @@ __author__ = '\n'.join(['Aric Hagberg (hagberg@lanl.gov)',
# uses Python's random module
# http://www.python.org/doc/current/lib/module-random.html
-def pareto_sequence(n,exponent=1.0):
- """
- Return sample sequence of length n from a Pareto distribution.
- """
- return [random.paretovariate(exponent) for i in range(n)]
-
-
def powerlaw_sequence(n,exponent=2.0):
"""
Return sample sequence of length n from a power law distribution.