generating 2D bit array variants with specific algorythm

ast nomail at
Fri Nov 7 17:40:29 CET 2014

"Robert Voigtländer" <r.voigtlaender at> a écrit dans le message de 
news:e5c93b46-a32b-4eca-a00d-f7dd2b4bb8ee at
>> 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.

OK exactly one 1 per line, others are 0
I understood sum modulo 2 = 1, so an odd number of 1 as joel ;) 

More information about the Python-list mailing list