使用柯西分布生成随机数 [英] random numbers generation using Cauchy distribution
本文介绍了使用柯西分布生成随机数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用柯西分布生成随机数.随机数必须在x和y之间.如何在其中使用类cauchy_distribution?.
I wanted generate random numbers using Cauchy distribution. The random numbers must between x and y.How do I use class cauchy_distribution in for it?.
推荐答案
请查看以下内容:
- .NET随机数生成器和分布 [柯西分布 [ http://www.johndcook.com/cpp_TR1_random.html#cauchy [ http://www.robertnz.net/nr02doc.htm#cauchy [
Have a look at the following:
- .NET random number generators and distributions[^]
- The Cauchy Distribution[^]
- http://www.johndcook.com/cpp_TR1_random.html#cauchy[^]
- http://www.robertnz.net/nr02doc.htm#cauchy[^]
Mika:另请参见 http://en.wikipedia.org/wiki/Cauchy_distribution [
In addition to the good answer by Mika: see also http://en.wikipedia.org/wiki/Cauchy_distribution[^].
—SA
这篇关于使用柯西分布生成随机数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文