![]() ![]() numpy.logspace(start, stop, num, endpoint, base, dtype) Following parameters determine the output of logspace function. ![]() ![]() Start and stop endpoints of the scale are indices of the base, usually 10. This function returns an ndarray object that contains the numbers that are evenly spaced on a log scale. import numpy as np # scale an input array-like to a mininum and maximum number # the input array must be of a floating point array # if you have a non-floating point array, convert to floating using `astype('float')` # this works with n-dimensional arrays # it will mutate in place # min and max can be integers: def scale_range (input, min, max):. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |