Factorial base numbers indexing permutations of a collection: Difference between revisions
Content added Content deleted
m (Formatting long lines of code.) |
m (Formatting code.) |
||
Line 331: | Line 331: | ||
std::cout << code + " --> " << std::endl; |
std::cout << code + " --> " << std::endl; |
||
factoradic = convert_to_vector_of_integer(code); |
factoradic = convert_to_vector_of_integer(code); |
||
std::cout << to_string<std::string>(permutation<std::string>(cards, factoradic), " ") |
std::cout << to_string<std::string>(permutation<std::string>(cards, factoradic), " ") |
||
<< std::endl << std::endl; |
|||
} |
} |
||