给定alpha和beta的beta分布的随机数选择 [英] Random number selection from beta distribution for given alpha and beta
问题描述
在可用的Microsoft库中是否有一个函数可以为beta发行版生成随机数(用户提供alpha和beta)?
Is there a function in available Microsoft libraries to generate random number for a beta distribution (with user providing alpha and beta)?
如果没有,任何想法如何编码?
If not, any idea how to code this?
感谢任何帮助
推荐答案
在可用的Microsoft库中是否有一个函数可以为beta发行版生成随机数(用户提供alpha和beta)?
Is there a function in available Microsoft libraries to generate random number for a beta distribution (with user providing alpha and beta)?
最简单的解决方案是获得.net的统计库。 例如:
https://sourceforge.net/projects/accord-net/
https://numerics.mathdotnet.com/
The simplest solution would be to get a statistical library for .net. For example:
https://sourceforge.net/projects/accord-net/
https://numerics.mathdotnet.com/
>
这篇关于给定alpha和beta的beta分布的随机数选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!