|
IndexStyle(::Type{<:AbstractFill{<:Any,N,<:NTuple{N,Base.OneTo{Int}}}}) where N = IndexLinear() |
This means
julia> using StaticArrays
julia> f = Fill(1, (SOneTo(2),))
2-element Fill{Int64, 1, Tuple{SOneTo{2}}} with indices SOneTo(2), with entries equal to 1
julia> IndexStyle(f)
IndexCartesian()
This may use linear indexing as well, though.
FillArrays.jl/src/FillArrays.jl
Line 59 in de36a50
This means
This may use linear indexing as well, though.