JuliaCollections / LogRanges.jl

GNU General Public License v3.0
4 stars 0 forks source link

LogRanges

This package is unmaintained. You may use Base.logrange starting in Julia 1.11 or Compat.logrange instead.

Stable Dev Build Status Coverage PkgEval Aqua

Provides logrange and LogRange which are analogous to Base.range and Base.LinRange, but with logaritmically spaced elements. For example

julia> using LogRanges

julia> logrange(1, 1000, 7)
7-element LogRange{Float64, Base.TwicePrecision{Float64}}:
 1.0, 3.16228, 10.0, 31.6228, 100.0, 316.228, 1000.0

That's it. This is a very lightweight dependency.

julia> @time_imports using LogRanges
      0.5 ms  LogRanges