numpy.logspace()It creates an array by using the numbers that are evenly separated on a log scale. SyntaxParametersIt accepts the following parameters.
ReturnAn array within the specified range is returned. Example 1Output: The array over the given range is [1.00000000e+10 3.16227766e+12 1.00000000e+15 3.16227766e+17 1.00000000e+20] Example 2Output: The array over the given range is [1.02400000e+03 5.79261875e+03 3.27680000e+04 1.85363800e+05 1.04857600e+06] Next Topic# |