disco icon indicating copy to clipboard operation
disco copied to clipboard

Multinomial coefficients should take a bag, not a list

Open byorgey opened this issue 3 years ago • 0 comments

The order of elements in the second argument to a multinomial coefficient does not matter, e.g. 10 choose [3,4,3] == 10 choose [4,3,3] == 10 choose [3,3,4]. Would it be better if it actually took a bag instead of a list?

byorgey avatar Apr 22 '22 12:04 byorgey