Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
Say I have:
How would I generate crosses of each of these?
i.e.
Thinking about it, a-b would be the same as b-a so only one of these would be needed.
It *has* to be simple?
(actually data set has >800 'terms' instead of a->g
)
edit - 'terms' are stored flatfile and also in a mysql column if that makes anythign easier.
Code:
a
b
c
d
e
f
g
How would I generate crosses of each of these?
i.e.
Code:
a b
a c
a d
a e
a f
a g
b c
b d
b e
b f
b g
...etc....
Thinking about it, a-b would be the same as b-a so only one of these would be needed.
It *has* to be simple?
(actually data set has >800 'terms' instead of a->g

edit - 'terms' are stored flatfile and also in a mysql column if that makes anythign easier.
Last edited: