Julia Programming Language
Elegant way of exclusive indexing
General Usage
indexing
,
arrays
rocco_sprmnt21
February 22, 2022, 12:15pm
6
a slight refinement
v[∉(inds).(eachindex(v))] v[∉(inds).(1:end)]
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Deleteat!(trues(3), [true, false, false]) got "ArgumentError: indices must be unique and sorted"
General Usage
bug
18
1112
June 20, 2020
Why isn't there a non-! version of deleteat!()?
New to Julia
abstractvector
8
459
December 6, 2024
In julia, how to realize a=b[-1:2] as in R without modifying b
New to Julia
3
1090
January 12, 2017
Non-mutating deleteat/splice function
General Usage
4
1626
May 25, 2018
Efficient (non-allocating, in-place) getindex! for BitArray?
Performance
question
,
indexing
19
1729
July 2, 2020