# Questions tagged [list-manipulation]

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

548 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
34 views

### Fastest way to do repeated subsample/Intersection calls over large set of vectors

In this answer I found I needed to calculate a bunch of intersections of subsets of vectors, like ...
1 vote
43 views

### Generation of nested list

Does anyone know a better way get the output generated by this code: Table[Table[{b-a,b},{b,7}]{a,7}]
1 vote
61 views

### Custom Table, for iterating over permutations

It is common that I iterate over all permutations of 1,2...,n, either by making a table or performing a sum. Instead of creating the set of all permutations, it would be better to iterate over them. ...
1 vote
36 views

### How can I create a ParallelTable with finer resolution at certain points?

For example, say I have a function testfunc already defined to take one argument $x$. This command would create a table of ...
1 vote
44 views

### How to confirm the list of plot unique

I have a list of plot in a list called modes. I am interested in knowing whether this list is unique or not, meaning all the plots are different from one another. ...
1 vote
40 views

### Using the Line command with a bound on distance between points

Suppose I use the Line command applied to a list (or more accurately apply Graphics[Line[list]] or ...
1 vote
58 views

### Evaluate For Loop for a fixed number of iterations

a = Table[Prime[n], {n, PrimePi[i]}]; b = Delete[a, 1]; p = IntegerPartitions[i, 4, b]; Total[ Times @@ Values[1/Factorial@#] & /@ Counts /@ p]; I need to ...
1 vote
63 views

### finding primes using chebyshev bias

Using the problem from my previous question link. For each n, that is n= $10^3$ to $10^6$ with a ten-fold increase, how do I use Chebyshev Bias to display the number of primes (which are in the ...
1 vote
55 views

...
1 vote
37 views

### Solving a system of differential equations whose one of the coefficients is imported data

Suppose we have a coupled system of differential equations: \begin{equation} \frac{db}{dt}=(- \gamma_b -i\omega_b)b-i\frac{g}{2}p;\quad \frac{dp}{dt}=i\frac{g}{2}\Delta N(t) b-(\gamma_a+\gamma_b+2iJ)p....
1 vote
59 views

### Find parameter ranges of a function whose value is within a window by sampling points

Problem: I want to find the ranges of the parameters for a function $f(x,y,z)$ when $0.9 < f(x,y,z) < 1.1$. All parameters are bounded $x , y, z \in [0,1]$. In the real problem the function ...
1 vote
76 views

### Problems with using Riffle, Grid and TableForm

I have the following Table: ...
1 vote
68 views

### Importing multiple files setting the name with tostring

I'm trying to import several matrices, which contain a pattern in the name. I create first their names in a table ...
1 vote
53 views

### Closest number between two lists within a given tolerance

If I have two large list with numbers such as: list1={number1,number2,number3..........etc} list2={number1,number2,number3..........etc} Question: How can I find ...
1 vote
61 views

### Apply DateObject to a whole list

I'm trying to apply DataObject to a whole list. It looks something like this. ...
1 vote
37 views

### Generating a list of the degree-$n$ Kronecker polynomials

A Kronecker polynomial is a polynomial such that Its coefficients are integers, Its roots are on the unit circle or $0$, Its leading coefficient is $1$. From here, there are finitely many Kronecker ...
1 vote