# Questions tagged [list-manipulation]

Questions on the manipulation of List objects in Mathematica, and the functions used for these manipulations.

9,608 questions
Filter by
Sorted by
Tagged with
43 views

164 views

### How to retrieve the index of a subset in Subsets[list,nspec,{s}]?

Subsets[Range[2000], {4}, {n}] would give the $s^{th}$ subset of the Subsets[Range[2000], {4}]. For example, ...
• 785
1 vote
111 views

### Implicit Runge Kutta for system of ODEs [closed]

I am trying to build a module that solves a system of ODEs using the implicit Runge-Kutta method but it seems that I have an issue with the convergence condition. Where might the problem be? This is ...
• 11
129 views

### Nested integration of the list of functions returns error

I have a list of expressions which I would like to integrate by nested integration. For any element from the list it works without issues (see end of the post), however, when I apply nested ...
• 336
1 vote
58 views

### Random replacement in array

In the spirit of this interesting article of Stephen Wolfram I also decided to study some issues related to mutations. I’m working with simple {0,1} arrays and I’ve ...
• 1,849
109 views

### Outer function for nested list

I have the following routine where I build a pair of function name lists {Flist, Klist} and 1D argument list {a1,a2,a3,a4,a5}: <...
• 336
1 vote
61 views

### Define certain argument in functions which depend on several arguments and built in a list

I got confused working with list of functions of two variables. I construct few lists of functions, one is vector of functions List1 and another is 2D list of ...
• 336
161 views

### Find permutation that satisfies conditions

Suppose you what to find a permutation of integers {1, 2, ..., 13} that satisfy some rules. Rules can be found in variable rules....
• 20.1k
1 vote
145 views

### Strange behavior of a list manipulation

This is a list of data obtained from numerical calculation, in which the 2nd element in all sublists are the same: ...
• 189
1 vote
67 views

### Using List in an Optimisation Problem

I have been adding various constraints to an existing optimiser and came across an issue. My latest constraints requires me to determine a conditional cumulative sum per below. There was an error and ...
37 views

### Plotting a different data set

I am trying to plot the following list in which for each value of x point, we have three different values for the y point list={{1,{1,2,3}},{2,{2,3,4}},{3,{5,6,7}}; ...
• 583