This package is unmaintained. You may use Base.logrange
starting in Julia 1.11 or Compat.logrange
instead.
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