Generate random numbers given a set of constraints

后端 未结 0 382
灰色年华
灰色年华 2020-12-13 22:26

I had an application that required something similar to the problem described here.

I too need to generate a set of random variables {Xi} that add up to a given sum S

相关标签:
回答
  • 消灭零回复
提交回复
热议问题