arrplayr
February 5th, 2009, 12:28 PM
Hi all,
I am sorry if this was asked before but I dont know how to mathematically describe what I need, hence, how to ask for solution. I will post an example of the wanted result, and HOPE that someone will point me to the right direction:
I have the following table:
1; X
2; Y
3; Z
There are 8 combinations in this example and I need to list all of them something like this:
1. 1, 2, 3
2. 1, Y, 3
3. 1, Y, Z
4. 1, 2, Z
5. X, 2, 3
6. X, Y, 3
7. X, Y, Z
8. X, 2, Z
If you don't have the algorithm, please give me some terminology that I can use to research the problem.
Thanks !
I am sorry if this was asked before but I dont know how to mathematically describe what I need, hence, how to ask for solution. I will post an example of the wanted result, and HOPE that someone will point me to the right direction:
I have the following table:
1; X
2; Y
3; Z
There are 8 combinations in this example and I need to list all of them something like this:
1. 1, 2, 3
2. 1, Y, 3
3. 1, Y, Z
4. 1, 2, Z
5. X, 2, 3
6. X, Y, 3
7. X, Y, Z
8. X, 2, Z
If you don't have the algorithm, please give me some terminology that I can use to research the problem.
Thanks !