Port permutations() from Python
Closed this issue · 1 comments
ramhiser commented
Port permutations() from Python
ramhiser commented
It turns out this was much easier than expected when itertools2::iproduct
is used. My implementation is loosely based on Python's itertools implementation.