start_bit_permutations function

Starting value to iterate (in lexicographical order) over all bit permutaions having l bits set to 1. E.g.: start_bit_permutations(2) = 3 [=0..011].

Starting value to iterate (in lexicographical order) over all bit permutaions having l bits set to 1. E.g.: start_bit_permutations(2) = 3 [=0..011].

start_bit_permutations(l)
  • Maintainer: Haeran Cho
  • License: GPL (>= 3)
  • Last published: 2022-10-22

Useful links