generating 2D bit array variants with specific algorythm

Robert Voigtländer r.voigtlaender at gmail.com
Fri Nov 7 17:02:54 CET 2014


> 1011
> What I mean is do you throw away the carry or does each row have only one zero?

Not sure what you mean. Each row must have one 1. The rest must be 0.
No combinations not fitting this rule must be generated.



More information about the Python-list mailing list