diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-06-21 18:55:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 18:55:08 -0600 |
commit | 70f50b8cbb1cd09c2dd108abe36ed211b9e0a071 (patch) | |
tree | ece23975efda9895791872910e230f2762806368 /doc | |
parent | f902cfd0e10f3ceba461dd2cdce0c534674578e7 (diff) | |
parent | e53570dda20ba7863b1aa225a069a206b9d725e2 (diff) | |
download | numpy-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.rst | 7 | ||||
-rw-r--r-- | doc/source/reference/routines.array-creation.rst | 1 |
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 |