8000 DOC: Add geomspace to function list, release notes · masasin/numpy@e53570d · GitHub
[go: up one dir, main page]

Skip to content

Commit e53570d

Browse files
committed
DOC: Add geomspace to function list, release notes
1 parent c967361 commit e53570d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/release/1.12.0-notes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ from the roots of the polynomial. This is useful for higher order polynomials,
150150
where expansion into polynomial coefficients is inaccurate at machine
151151
precision.
152152

153+
New array creation function ``geomspace`` added
154+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155+
The new function ``geomspace`` generates a geometric sequence. It is similar
156+
to ``logspace``, but with start and stop specified directly:
157+
``geomspace(start, stop)`` behaves the same as
158+
``logspace(log10(start), log10(stop))``.
159+
153160
Improvements
154161
============
155162

doc/source/reference/routines.array-creation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Numerical ranges
8080
arange
8181
linspace
8282
logspace
83+
geomspace
8384
meshgrid
8485
mgrid
8586
ogrid

0 commit comments

Comments
 (0)
0