Closed
Description
It comes up pretty naturally to combine StaticArrays.jl with FillArrays.jl, e.g., Fill(SVector(1,2), 10)
. This can support more specialised behaviour, for example, we could support
Fill(SVector(1,2), 10) .* Zeros(10) === Zeros{SVector{2,Float64},1}(10)
This raises a couple questions:
- Should FillArrays.jl depend on StaticArrays.jl or the other way around? An argument that FillArrays.jl should depend on StaticArrays.jl is that the tests already do, and its currently more prone to breaking tags.
- Should we add a static version of
Fill
? Ref UnifyOnes
andZeros
asSFill{0}
andSFill{k}
? FillArrays.jl#104
If we decide on FillArrays.jl depending on StaticArrays.jl, I can close this issue as there's nothing to do here, but just wanted to raise the question first.