Skip to content
New issue

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

Stars and bars (multisets) #87

Open
atthom opened this issue Oct 15, 2019 · 1 comment
Open

Stars and bars (multisets) #87

atthom opened this issue Oct 15, 2019 · 1 comment

Comments

@atthom
Copy link

atthom commented Oct 15, 2019

I was looking for a Julia implementation of this known combinatorics problem: Stars and bars

I have some struggle to use multiset_combinations and multiset_permutations and I didn't find any good documentation on it.

I wanted to compute/enumerate a multiset number using this method. However, It seems that multiset_combinations is performing a combination on multisets, which is something very different. I'm still new to Julia so I might be wrong.

Also, If you can point me to a workaround for this problem, I'll be glad to hear it!

@Stivanification
Copy link

I'm rather late to the party, but it's not exactly clear to me what you are looking for. Can you give an example of what you would expect multiset_combinations to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants