Missing docstring for RangeData
. Check Documenter's build log for details.
Base.range
— Functionrange(start, stop, length)
range(start, stop; length, step)
range(start; length, stop, step)
range(;start, length, stop, step)
Construct a specialized array with evenly spaced elements and optimized storage (an AbstractRange
) from the arguments. Mathematically a range is uniquely determined by any three of start
, step
, stop
and length
. Valid invocations of range are:
- Call
range
with any three ofstart
,step
,stop
,length
. - Call
range
with two ofstart
,stop
,length
. In this casestep
will be assumed
to be one. If both arguments are Integers, a UnitRange
will be returned.
Examples
julia> range(1, length=100)
1:100
julia> range(1, stop=100)
1:100
julia> range(1, step=5, length=100)
1:5:496
julia> range(1, step=5, stop=100)
1:5:96
julia> range(1, 10, length=101)
1.0:0.09:10.0
julia> range(1, 100, step=5)
1:5:96
julia> range(stop=10, length=5)
6:10
julia> range(stop=10, step=1, length=5)
6:1:10
julia> range(start=1, step=1, stop=10)
1:1:10
If length
is not specified and stop - start
is not an integer multiple of step
, a range that ends before stop
will be produced.
julia> range(1, 3.5, step=2)
1.0:2.0:3.0
Special care is taken to ensure intermediate values are computed rationally. To avoid this induced overhead, see the LinRange
constructor.
stop
as a positional argument requires at least Julia 1.1.
The versions without keyword arguments and start
as a keyword argument require at least Julia 1.7.
Missing docstring for slider
. Check Documenter's build log for details.
Missing docstring for Stipple.render
. Check Documenter's build log for details.
Missing docstring for Base.parse
. Check Documenter's build log for details.