Generate random numbers according to distributions

前端 未结 6 763
谎友^
谎友^ 2020-12-05 07:45

I want to generate random numbers according some distributions. How can I do this?

6条回答
  •  佛祖请我去吃肉
    2020-12-05 08:31

    You can convert from discrete bins to float/double with interpolation. Simple linear works well. If your table memory is constrained other interpolation methods can be used. -jlp

提交回复
热议问题