Added distributions
This commit is contained in:
parent
1fb09009f4
commit
582918ff04
123
README.md
123
README.md
@ -1,3 +1,124 @@
|
||||
# FastRng
|
||||
|
||||
A fast random number generator
|
||||
FastRng is a multi-threaded pseudo-random number generator. Besides the generation of uniformly distributed random numbers, there are several other distributions to choose from. For performance reasons the parameters of the distributions are not user-definable. For some distributions, therefore, different parameter variations are available. If a different combination is desired, a separate class can be created.
|
||||
|
||||
## Available Distributions
|
||||
|
||||
### Normal Distribution (std. dev.=0.2, mean=0.5)
|
||||
![](images/normal.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Normal_distribution
|
||||
|
||||
|
||||
### Beta Distribution (alpha=2, beta=2)
|
||||
![](images/beta-a2b2.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Beta_distribution
|
||||
|
||||
|
||||
### Beta Distribution (alpha=2, beta=5)
|
||||
![](images/beta-a2b5.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Beta_distribution
|
||||
|
||||
|
||||
### Beta Distribution (alpha=5, beta=2)
|
||||
![](images/beta-a5b2.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Beta_distribution
|
||||
|
||||
|
||||
### Cauchy / Lorentz Distribution (x0=0)
|
||||
![](images/cauchy-lorentz-x0.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Cauchy_distribution
|
||||
|
||||
|
||||
### Cauchy / Lorentz Distribution (x0=1)
|
||||
![](images/cauchy-lorentz-x1.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Cauchy_distribution
|
||||
|
||||
|
||||
### Chi-Square Distribution (k=1)
|
||||
![](images/chi-square-k1.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Chi-square_distribution
|
||||
|
||||
|
||||
### Chi-Square Distribution (k=4)
|
||||
![](images/chi-square-k4.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Chi-square_distribution
|
||||
|
||||
|
||||
### Chi-Square Distribution (k=10)
|
||||
![](images/chi-square-k10.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Chi-square_distribution
|
||||
|
||||
|
||||
### Exponential Distribution (lambda=5)
|
||||
![](images/exponential-la5.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Exponential_distribution
|
||||
|
||||
|
||||
### Exponential Distribution (lambda=10)
|
||||
![](images/exponential-la10.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Exponential_distribution
|
||||
|
||||
|
||||
### Inverse Exponential Distribution (lambda=5)
|
||||
![](images/inverse-exponential-la5.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Inverse_distribution#Inverse_exponential_distribution
|
||||
|
||||
|
||||
### Inverse Exponential Distribution (lambda=10)
|
||||
![](images/inverse-exponential-la10.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Inverse_distribution#Inverse_exponential_distribution
|
||||
|
||||
|
||||
### Gamma Distribution (alpha=5, beta=15)
|
||||
![](images/gamma-a5b15.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Gamma_distribution
|
||||
|
||||
|
||||
### Inverse Gamma Distribution (alpha=3, beta=0.5)
|
||||
![](images/inverse-gamma-a3b05.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Inverse-gamma_distribution
|
||||
|
||||
|
||||
### Laplace Distribution (b=0.1, mu=0)
|
||||
![](images/laplace-b01m0.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Laplace_distribution
|
||||
|
||||
|
||||
### Laplace Distribution (b=0.1, mu=0.5)
|
||||
![](images/laplace-b01m05.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Laplace_distribution
|
||||
|
||||
|
||||
### Log-Normal Distribution (sigma=1, mu=0)
|
||||
![](images/log-normal-s1m0.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Log-normal_distribution
|
||||
|
||||
|
||||
### StudentT Distribution (nu=1)
|
||||
![](images/student-t-nu1.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Student%27s_t-distribution
|
||||
|
||||
|
||||
### Weibull Distribution (k=0.5, lambda=1)
|
||||
![](images/weibull-k05la1.png)
|
||||
|
||||
Wikipedia: https://en.wikipedia.org/wiki/Weibull_distribution
|
BIN
images/beta-a2b2.png
(Stored with Git LFS)
Normal file
BIN
images/beta-a2b2.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/beta-a2b5.png
(Stored with Git LFS)
Normal file
BIN
images/beta-a2b5.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/beta-a5b2.png
(Stored with Git LFS)
Normal file
BIN
images/beta-a5b2.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/cauchy-lorentz-x0.png
(Stored with Git LFS)
Normal file
BIN
images/cauchy-lorentz-x0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/cauchy-lorentz-x1.png
(Stored with Git LFS)
Normal file
BIN
images/cauchy-lorentz-x1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/chi-square-k1.png
(Stored with Git LFS)
Normal file
BIN
images/chi-square-k1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/chi-square-k10.png
(Stored with Git LFS)
Normal file
BIN
images/chi-square-k10.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/chi-square-k4.png
(Stored with Git LFS)
Normal file
BIN
images/chi-square-k4.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/exponential-la10.png
(Stored with Git LFS)
Normal file
BIN
images/exponential-la10.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/exponential-la5.png
(Stored with Git LFS)
Normal file
BIN
images/exponential-la5.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/gamma-a5b15.png
(Stored with Git LFS)
Normal file
BIN
images/gamma-a5b15.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/inverse-exponential-la10.png
(Stored with Git LFS)
Normal file
BIN
images/inverse-exponential-la10.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/inverse-exponential-la5.png
(Stored with Git LFS)
Normal file
BIN
images/inverse-exponential-la5.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/inverse-gamma-a3b05.png
(Stored with Git LFS)
Normal file
BIN
images/inverse-gamma-a3b05.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/laplace-b01m0.png
(Stored with Git LFS)
Normal file
BIN
images/laplace-b01m0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/laplace-b01m05.png
(Stored with Git LFS)
Normal file
BIN
images/laplace-b01m05.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/log-normal-s1m0.png
(Stored with Git LFS)
Normal file
BIN
images/log-normal-s1m0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/normal.png
(Stored with Git LFS)
Normal file
BIN
images/normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/student-t-nu1.png
(Stored with Git LFS)
Normal file
BIN
images/student-t-nu1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/weibull-k05la1.png
(Stored with Git LFS)
Normal file
BIN
images/weibull-k05la1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user