From 6fac305a8b62e40aa7a353d4cf72688939c0e0a4 Mon Sep 17 00:00:00 2001 From: melissawm Date: Tue, 11 Oct 2022 17:23:29 -0300 Subject: DOC: Improve how-to-partition contents. Also add links to this document from the functions' docstrings. --- numpy/core/function_base.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/core/function_base.py') 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 ----- -- cgit v1.2.1