We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如 rand() * (1.0 / RAND_MAX),可以得到 [0, 1) 之间的随机数,但是变换成正态分布以后,区间似乎就变得不可控了,请问你是如何处理这个问题的呢?@miloyip
The text was updated successfully, but these errors were encountered:
正态分布定义的范围是 [-∞, +∞],如果有实际需要就做 clamping 吧。
Sorry, something went wrong.
Clamping的话建议怎么做呢? 我想到的是2种方法:
不知道有没有更好的方法呢?
No branches or pull requests
比如 rand() * (1.0 / RAND_MAX),可以得到 [0, 1) 之间的随机数,但是变换成正态分布以后,区间似乎就变得不可控了,请问你是如何处理这个问题的呢?@miloyip
The text was updated successfully, but these errors were encountered: