# Questions tagged [tuples]

The tag has no usage guidance.

12 questions
Filter by
Sorted by
Tagged with
41 views

I noticed that Tuples[{0, 1}, 3] gives the eight vertices of a cubic. Tuples[{0, 1}, 2] gives the four vertices of a square. <...
77 views

### Making figure from list of tuples

I am generating all possible configurations of NN elements comprising only 0 or 1 as sB[NN_] := Tuples[{0, 1}, NN] Using this, for fixed NN I would like to ...
63 views

### Tuples with more criteria

I have seen that there is question here which does almost what I wanted to ask but it's not quite what I wanted. Efficiently generating tuples with Outer What I would like to have is a Tuples of a ...
55 views

### Duplicate Tuples in two different ways

Writing: n = 3; Tuples[{"min", "MAX"}, n] I get: {{"min", "min", "min"}, {"min", "min", "MAX"}, {"min", "MAX", "min"}, {"min", "MAX", "MAX"}, {"MAX", "min", "...
731 views

### What is the identity for Tuples?

My question is, what list p in the following statement returns the list q? Tuples[{{p},{q}}] If we think of Tuples as a binary operator then p would be the ...
65 views

### How to list all the possible functions of given structure?

I can run this command : Tuples[{ Tuples[{x, y, z}, 2], {a, b, c}}] to list all combinations that looks like: ...
121 views

### Delete duplicates in tuples

I use the following code to create a list of input parameters: ...
91 views

### Tuples of elements from list excluding anything with repeated values

What I would like to do is the following. For a given list of elements; say (0,1,2,3,4) I would like to obtain all possible combinations of five, but not the ones with ANY repeated values. That is I ...
64 views

### Select elements in a list of tuples of quaternions that satisfy a condition

I defined 24 quaternions using the Quaternions package and i create the list of all possible 4-tuples using ListQuad = Tuples[ListQuaternions, 4] where ...
47 views

### how to replace part of tuple

I would like to replace all elements $1/2$ in tuples with $0$, How should i do that I tried already this one : sel1 = ReplacePart[sel[[#]], 1/2 -> 0] The ...