diff options
author | Stefan Otte <stefan.otte@gmail.com> | 2018-08-05 12:09:34 +0200 |
---|---|---|
committer | Stefan Otte <stefan.otte@gmail.com> | 2018-08-07 19:55:38 +0200 |
commit | 8e0205b863075f204de2396b39a0e75eb655194b (patch) | |
tree | 45e7be9a5b9636cf5e90ed96dba251881761a326 /numpy/core/function_base.py | |
parent | 9d0225b800df3c2b0bffee9960df87b15527509c (diff) | |
download | numpy-8e0205b863075f204de2396b39a0e75eb655194b.tar.gz |
DOC: Add geomspace to "See also" of linspace
Diffstat (limited to 'numpy/core/function_base.py')
-rw-r--r-- | numpy/core/function_base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py index fb72bada5..799b1418d 100644 --- a/numpy/core/function_base.py +++ b/numpy/core/function_base.py @@ -71,7 +71,10 @@ def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None): -------- arange : Similar to `linspace`, but uses a step size (instead of the number of samples). - logspace : Samples uniformly distributed in log space. + geomspace : Similar to `linspace`, but with numbers spaced evenly on a log + scale (a geometric progression). + logspace : Similar to `geomspace`, but with the end points specified as + logarithms. Examples -------- |