🌐
NumPy
numpy.org › doc › stable › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v2.5 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
numpy.array
An array, any object exposing the array interface, an object whose __array__ method returns an array, or any (nested) sequence. If object is a scalar, a 0-dimensional array containing object is returned · The desired data-type for the array. If not given, NumPy will try to use a default dtype ...
numpy.zeros
Return a new array of given shape and type, filled with zeros · Shape of the new array, e.g., (2, 3) or 2
numpy.arange
Return evenly spaced values within a given interval · arange can be called with a varying number of positional arguments:
numpy.linspace
Similar to geomspace, but with the end points specified as logarithms.
🌐
NumPy
numpy.org › devdocs › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v2.6.dev0 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
GeeksforGeeks
geeksforgeeks.org › python › numpy-geomspace-in-python
numpy.geomspace() in Python - GeeksforGeeks
July 11, 2025 - Syntax : numpy.geomspace(start, stop, num=50, endpoint=True, dtype=None) Parameters : start : [scalar] The starting value of the sequence. stop : [scalar] The final value of the sequence, unless endpoint is False. In that case, num + 1 values are spaced over the interval in log-space, of which all but the last (a sequence of length num) are returned.
🌐
NumPy
numpy.org › doc › 2.1 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v2.1 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
NumPy
numpy.org › doc › 1.22 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.22 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
w3resource
w3resource.com › numpy › array-creation › geomspace.php
NumPy: numpy.geomspace() function - w3resource
The numpy.geomspace() function returns an array with numbers that are evenly spaced on a log scale between start and stop values.
🌐
NumPy
numpy.org › doc › 1.16 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.16 Manual
>>> np.geomspace(1000, 1, num=4) array([ 1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([ 0. +1.j, 0. +10.j, 0.
🌐
NumPy
numpy.org › doc › 1.20 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.20 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
NumPy
numpy.org › doc › 2.0 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v2.0 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
Find elsewhere
🌐
TutorialsPoint
tutorialspoint.com › article › python-numpy-geomspace
Python – numpy.geomspace
March 26, 2026 - import numpy as np # Create geometric sequence x = np.geomspace(1, 2000, num=8) print("geomspace of X:") print(x)
🌐
NumPy
numpy.org › doc › 2.3 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v2.3 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
NumPy
numpy.org › doc › 2.2 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v2.2 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
NumPy
numpy.org › doc › 1.17 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.17 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
Jiffyclub
jiffyclub.github.io › numpy › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.12 Manual
numpy.geomspace(start, stop, num=50, endpoint=True, dtype=None)[source]¶ · Return numbers spaced evenly on a log scale (a geometric progression). This is similar to logspace, but with endpoints specified directly. Each output sample is a constant multiple of the previous.
🌐
SciPy
docs.scipy.org › doc › numpy-1.13.0 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.13 Manual
numpy.geomspace(start, stop, num=50, endpoint=True, dtype=None)[source]¶ · Return numbers spaced evenly on a log scale (a geometric progression). This is similar to logspace, but with endpoints specified directly. Each output sample is a constant multiple of the previous.
🌐
NumPy
numpy.org › doc › 1.19 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.19 Manual
>>> np.geomspace(1000, 1, num=4) array([1000., 100., 10., 1.]) >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) >>> np.geomspace(1j, 1000j, num=4) # Straight line array([0. +1.j, 0. +10.j, 0.
🌐
SciPy
docs.scipy.org › doc › numpy-1.14.0 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.14 Manual
numpy.geomspace(start, stop, num=50, endpoint=True, dtype=None)[source]¶ · Return numbers spaced evenly on a log scale (a geometric progression). This is similar to logspace, but with endpoints specified directly. Each output sample is a constant multiple of the previous.
🌐
SciPy
docs.scipy.org › doc › numpy-1.15.4 › reference › generated › numpy.geomspace.html
numpy.geomspace — NumPy v1.15 Manual
numpy.geomspace(start, stop, num=50, endpoint=True, dtype=None)[source]¶ · Return numbers spaced evenly on a log scale (a geometric progression). This is similar to logspace, but with endpoints specified directly. Each output sample is a constant multiple of the previous.
🌐
Pydocs
pydocs.github.io › p › numpy › 1.22.4 › api › numpy.geomspace
Document
numpy 1.22.4 Pypi GitHub Homepage · Other Docs · NotesParametersReturnsBackRef geomspace(start, stop, num=50, endpoint=True, dtype=None, axis=0) This is similar to logspace , but with endpoints specified directly. Each output sample is a constant multiple of the previous.