We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Base.setindex
As far as I can tell there is no multi-index Base.setindex such as setindex((1,2,3,4,5), (10, 20), 1:2) or setindex((1,2,3,4,5), (10, 40), [1, 4])
setindex((1,2,3,4,5), (10, 20), 1:2)
setindex((1,2,3,4,5), (10, 40), [1, 4])
I'm not sure what the most performant method for this is, perhaps something like:
return ntuple(j -> if else(j in i, v[j], x[j]), Val{N}())