用于生成各种分布的随机数的 C# 开源统计库?

发布于 2024-08-05 06:33:09 字数 106 浏览 2 评论 0原文

这是为了模拟。特别是,我试图生成听起来自然的单词和名称,而 Random 类中提供的均匀分布并不能解决这个问题。

这不是一个愚蠢的问题,因为类似的问题不是针对 C# 随机数生成器的。

This is for simulation. In particular, I'm trying to generate natural sounding words and names, and the uniform distribution in the Random class provides doesn't cut it.

This isn't a dupe question because the similar questions weren't look for C# random number generators.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

︶ ̄淡然 2024-08-12 06:33:09

这是来自 CodeProject 的一篇文章和一些代码。

Here's an article and some code from CodeProject.

嘿看小鸭子会跑 2024-08-12 06:33:09

查看 Math.Net 的包 Iridium,这是一个开源数学库。

Iridium 的功能之一是:

  • 非均匀随机生成器(正态、泊松、二项式……)

Have a look at the package Iridium of Math.Net, an open source Math library.

One of the Iridium features is:

  • non-uniform random generators (normal, poisson, binomial, ...)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文