Algorithm for gaussian sampling from a non-continuous ranges

前端 未结 0 1766
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-15 18:47

I want to generate numbers sampled according to a normal distribution but they also follow certain rules, e.g., all numbers that satisfy the rules:

    x + y = 5
         


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