I have a list,
param2 = { {-qlim, -qlim}, {-qlim, qlim}, {qlim, -qlim}, {qlim, qlim} }; and want to get combination of them with,
Flatten[Table[{param2[[i]], param2[[j]]}, {i, 4}, {j, 4}], 2] But this gives me list which includes sets that have item twice. I want to get
{1,2},{1,3},{1,4},{2,3},{2,4},{3,4}
qlim? $\endgroup$Flatten[Table[{i, j}, {i, 1, 4}, {j, i + 1, 4}], 1]. $\endgroup$