summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorendolith <endolith@gmail.com>2016-06-21 13:12:42 -0400
committerEndolith <endolith@gmail.com>2016-06-21 19:18:49 -0400
commite53570dda20ba7863b1aa225a069a206b9d725e2 (patch)
tree246a7e9b0e17fae80eaf151a72915385dac37435 /doc
parentc96736198c01861aa8d7ea2b57876648eb999c61 (diff)
downloadnumpy-e53570dda20ba7863b1aa225a069a206b9d725e2.tar.gz
DOC: Add geomspace to function list, release notes
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.12.0-notes.rst7
-rw-r--r--doc/source/reference/routines.array-creation.rst1
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst
index 15f22700c..30461505c 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -150,6 +150,13 @@ from the roots of the polynomial. This is useful for higher order polynomials,
where expansion into polynomial coefficients is inaccurate at machine
precision.
+New array creation function ``geomspace`` added
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The new function ``geomspace`` generates a geometric sequence. It is similar
+to ``logspace``, but with start and stop specified directly:
+``geomspace(start, stop)`` behaves the same as
+``logspace(log10(start), log10(stop))``.
+
Improvements
============
diff --git a/doc/source/reference/routines.array-creation.rst b/doc/source/reference/routines.array-creation.rst
index c7c6ab815..e718f0052 100644
--- a/doc/source/reference/routines.array-creation.rst
+++ b/doc/source/reference/routines.array-creation.rst
@@ -80,6 +80,7 @@ Numerical ranges
arange
linspace
logspace
+ geomspace
meshgrid
mgrid
ogrid