Module combinatorics

Source

Functionsยง

combination_of_2_index_to_ranks
restore index to 2 ranks
combination_of_2_ranks_to_index
returns the index combination of 2 ranks input must be valid bit flags of 2 or more ranks
combination_of_3_index_to_ranks
restore index to 3 ranks
combination_of_3_ranks_to_index
returns the index combination of 3 ranks input must be valid bit flags of 3 or more ranks
range_cond_indices