diff options
author | Matti Picus <matti.picus@gmail.com> | 2018-08-08 17:10:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 17:10:50 -0700 |
commit | 8e892d4efd8fed1ff499d6c0ec8fba0943bbe3db (patch) | |
tree | 8ed737c21b595facbb7ef6820774ef463d999450 /numpy/core | |
parent | b13ae038c6aa34c813f6ea31dcfda67070108fee (diff) | |
parent | 8e0205b863075f204de2396b39a0e75eb655194b (diff) | |
download | numpy-8e892d4efd8fed1ff499d6c0ec8fba0943bbe3db.tar.gz |
Merge pull request #11673 from sotte/mention_geomspace_in_linspace_docs
DOC: Add geomspace to "See also" of linspace
Diffstat (limited to 'numpy/core')
-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 -------- |