Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 1.46 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.46 KB

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