Feeds
回答済み
Problem with generating all binary vectors of constant Hamming weight
It seems that I've found the solution. I just need to replace total = factorial(n)/(factorial(k)*factorial(n-k)); with ...
Problem with generating all binary vectors of constant Hamming weight
It seems that I've found the solution. I just need to replace total = factorial(n)/(factorial(k)*factorial(n-k)); with ...
12年以上 前 | 0
| 採用済み
質問
Problem with generating all binary vectors of constant Hamming weight
Hi, all. I need to precompute a matrix containing all binary vectors with the length *n* and Hamming weight *k*, listed in a ...
12年以上 前 | 2 件の回答 | 0

