j
k
j a
j l
request for it or not?
A multinomial distribution? Sure, common enough that I would use it. I would use std::partial_sum and std::distance and return only idx. Perhaps have an option to sort the weights for greater performance. Thanks.
Back to the thread
Back to the list