summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-06-21 18:55:08 -0600
committerGitHub <noreply@github.com>2016-06-21 18:55:08 -0600
commit70f50b8cbb1cd09c2dd108abe36ed211b9e0a071 (patch)
treeece23975efda9895791872910e230f2762806368 /doc
parentf902cfd0e10f3ceba461dd2cdce0c534674578e7 (diff)
parente53570dda20ba7863b1aa225a069a206b9d725e2 (diff)
downloadnumpy-70f50b8cbb1cd09c2dd108abe36ed211b9e0a071.tar.gz
Merge pull request #7268 from endolith/geomspace
ENH: add geomspace function
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 1aa70738c..56ce73d1f 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -162,6 +162,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