diff options
author | melissawm <melissawm.github@gmail.com> | 2022-10-11 17:23:29 -0300 |
---|---|---|
committer | melissawm <melissawm@gmail.com> | 2022-10-11 20:08:37 -0300 |
commit | 6fac305a8b62e40aa7a353d4cf72688939c0e0a4 (patch) | |
tree | decee175a52111e4aa23f823d6121ed4812d03a8 /numpy/core/function_base.py | |
parent | 5c427d6a597f62352e9baf870e1b2edde58bee45 (diff) | |
download | numpy-6fac305a8b62e40aa7a353d4cf72688939c0e0a4.tar.gz |
DOC: Improve how-to-partition contents.
Also add links to this document from the functions' docstrings.
Diffstat (limited to 'numpy/core/function_base.py')
-rw-r--r-- | numpy/core/function_base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py index b5323fb17..3dc51a81b 100644 --- a/numpy/core/function_base.py +++ b/numpy/core/function_base.py @@ -91,6 +91,7 @@ def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, scale (a geometric progression). logspace : Similar to `geomspace`, but with the end points specified as logarithms. + :ref:`how-to-partition` Examples -------- @@ -242,6 +243,7 @@ def logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None, linspace : Similar to logspace, but with the samples uniformly distributed in linear space, instead of log space. geomspace : Similar to logspace, but with endpoints specified directly. + :ref:`how-to-partition` Notes ----- @@ -338,6 +340,7 @@ def geomspace(start, stop, num=50, endpoint=True, dtype=None, axis=0): progression. arange : Similar to linspace, with the step size specified instead of the number of samples. + :ref:`how-to-partition` Notes ----- |