[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoiding cross product of lists

From: Rob Sargent
Subject: Avoiding cross product of lists
Date: Wed, 25 Jun 2014 12:20:24 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

I cannot find an example of supplying two arguments from lists which does not result in the cross product of the two lists.
p1 uses c1 c2 c3
p2 uses c4 c7
p3 uses c1 c5 c9

I cannot construct a parallel command which accomplishes the task of running my programme J 8 times as:
J p1 c1
J p1 c2
J p1 c3
J p2 c4
J p2 c7
J p3 c1
J p3 c5
j p3 c9

Is there such a construct?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]