About Lesson
Numpy.logspace:- logspace() function creates an array by using the numbers that are evenly separated on a log scale. Start and stop end points of the scale are indices of the base, usually 10.
Syntax:- numpy.logspace(start,stop,num,endpoint,base,dtype)
import numpy as np a=np.logspace(5,15,3) print(a) Output [1.e+05 1.e+10 1.e+15] |