-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
broadcastApplying a function over a collectionApplying a function over a collectionspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Description
I have an array x::Array{ImmutableArray.Vector2}
.
It would be cool to be able to broadcast indexing as is done with functions.
e.g.
x.[1]
,
which would return the first element of each Vector2
in my array.
This is currently achievable with getindex.(x,1)
or in the case of a range of indices
getindex.(x,[range])
.
jcanizales, Cvikli and LilithHafnerararslan, aminya and cossio
Metadata
Metadata
Assignees
Labels
broadcastApplying a function over a collectionApplying a function over a collectionspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative