-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support combination with FillArrays.jl #815
Labels
Comments
Yes, this seems like the right way around.
I don't know about this one. Probably best discussed at FillArrays :) |
Ha, just realised it already works! julia> Fill(1, (SOneTo{2}(),))
2-element Fill{Int64,1,Tuple{SOneTo{2}}} with indices SOneTo(2): entries equal to 1 |
Nice! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 supportThis raises a couple questions:
Fill
? Ref UnifyOnes
andZeros
asSFill{0}
andSFill{k}
? FillArrays.jl#104If 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.
The text was updated successfully, but these errors were encountered: