Using the Raised Cosine Distribution in PRNG
|
12-26-2016, 01:37 AM
Post: #5
|
|||
|
|||
RE: Using the Raised Cosine Distribution in PRNG
Another distribution (probably suitable for gaming but not for high-accuracy calculation without some extra work) that mimics the normal is the Kahn Pseudo Normal. It's easy to generate. With u being uniformly distributed between 0 and 1, the variates are given by:
Y = Log ( 1/u - 1 ) Another possibility, but with infinite variance: Y = Tangent( Pi * (Y - 1/2) ) Averages of the first distribution converge to a normal distribution (central limit theorem). Averages of the second distribution converge to another Cauchy distribution. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Using the Raised Cosine Distribution in PRNG - Namir - 12-18-2016, 01:51 AM
RE: Using the Raised Cosine Distribution in PRNG - mark4flies - 12-21-2016, 01:42 PM
RE: Using the Raised Cosine Distribution in PRNG - Namir - 12-21-2016, 03:20 PM
RE: Using the Raised Cosine Distribution in PRNG - mark4flies - 12-25-2016, 12:30 PM
RE: Using the Raised Cosine Distribution in PRNG - ttw - 12-26-2016 01:37 AM
RE: Using the Raised Cosine Distribution in PRNG - Paul Dale - 12-26-2016, 01:42 AM
RE: Using the Raised Cosine Distribution in PRNG - Namir - 12-26-2016, 02:12 AM
RE: Using the Raised Cosine Distribution in PRNG - Paul Dale - 12-26-2016, 07:39 AM
RE: Using the Raised Cosine Distribution in PRNG - Namir - 12-26-2016, 11:03 AM
RE: Using the Raised Cosine Distribution in PRNG - Dieter - 12-26-2016, 08:01 PM
|
User(s) browsing this thread: 1 Guest(s)