Questions tagged [sublist]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
58 views

Finding points located in a specific locations of a 3D objects

I have the following list of points in 3D and would like to find the points which are located on the lower edge of the object and on (or closest distance to) the X-Y or Y-Z plane of the symmetry. (...
3
votes
2answers
128 views

Position of Nearest in sublist

I want to get the position of nearest value or the position of the value in a certain range. When I have the list, such as ...
5
votes
3answers
112 views

How can I add or remove the element in the sub-lists, whose length are different?

If there are lists with different lengths of sublists like below, ...
1
vote
1answer
65 views

export and import of 3D arrays

I have a very large (up to 1 Mio elements) 3D array A = {{{1,2,3,4},{5,6,7,8}},{{9,10,11,12},{13,14,15,16}}, ......, {{....},{....},{....}}} which I want to Export ...
5
votes
3answers
219 views

How do you selectively flatten a sublist in a given list?

I have a list that looks something like: d={{{1}},{{2}},{{3},{4}},{{5}},{{1},{8}}} Is there a generic way to use flatten so that you can selectively target ...