30 Jan
2010
30 Jan
'10
5:39 p.m.
On 01/30/10 07:35, Larry Evans wrote: [snip]
I think the following might work:
step1: create sequence of fields: seq=(field1,field2,...,fieldn) step2: create a sequence of a sequence of fields by fold with pop_back: seq_fold= ( (field1,field2,....,fieldn) , (field1,field2,...,fieldn-1) ... , (field1) ) step3 form the cross product of seq_fold using code posted here:
[snip] Nope, it wouldn't work since the number of generated elements would be 4!, not the 2^4-1 required in the OP. Sorry for noise. -Larry