Return numbers spaced evenly on a log scale.
In linear space, the sequence starts at base ** start (base to the power of start) and ends with base ** stop (see endpoint below).
Parameters : | start : float
stop : float
num : integer, optional
endpoint : boolean, optional
base : float, optional
|
---|---|
Returns : | samples : ndarray
|
See also
Notes
Logspace is equivalent to the code
>>> y = np.linspace(start, stop, num=num, endpoint=endpoint)
...
>>> power(base, y)
...
Examples