We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have n lists all of the same type. I want to loop through all the possible combinations of pulling one item from each of those lists.
Ex.
List 1 = { Red, Blue, Orange } List 2 = { Brown } List 3 = { White, Black }
Red Brown White Red Brown Black Blue Brown White Blue Brown Black Orange Brown White Orange Brown Black
How can I do that with this library? Thanks
The text was updated successfully, but these errors were encountered:
Added generation of combinations based from lists (#5)
6a5bf38
Cartesian product generator. Fixes Issue #4
This enhancement (cartesian product generator) will be released by the end of May 2018 in version 3.2.1
Sorry, something went wrong.
https://github.com/dpaukov/combinatoricslib3#7-cartesian-product
Great addition. Thanks.
No branches or pull requests
I have n lists all of the same type. I want to loop through all the possible combinations of pulling one item from each of those lists.
Ex.
List 1 = { Red, Blue, Orange }
List 2 = { Brown }
List 3 = { White, Black }
Red Brown White
Red Brown Black
Blue Brown White
Blue Brown Black
Orange Brown White
Orange Brown Black
How can I do that with this library? Thanks
The text was updated successfully, but these errors were encountered: