Julia Programming Language
Easiest way to delete indices from Vector{Vector{}}
New to Julia
arrays
,
vector
GunnarFarneback
January 17, 2022, 7:02am
2
If mutation is fine
deleteat!.(a, Ref(ind))
otherwise
deleteat!.(copy.(a), Ref(ind))
5 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Trim a vector in place
General Usage
arrays
1
226
July 24, 2024
Newbie delete elements from array question
New to Julia
10
813
February 21, 2024
Elegant way of exclusive indexing
General Usage
indexing
,
arrays
41
2466
February 26, 2022
In julia, how to realize a=b[-1:2] as in R without modifying b
New to Julia
3
1099
January 12, 2017
Whats a better way to remove elements from an array based on index?```g = [55, 7
General Usage
9
7100
March 2, 2021