Using the Raised Cosine Distribution in PRNG

12262016, 01:37 AM
Post: #5




RE: Using the Raised Cosine Distribution in PRNG
Another distribution (probably suitable for gaming but not for highaccuracy 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  12182016, 01:51 AM
RE: Using the Raised Cosine Distribution in PRNG  mark4flies  12212016, 01:42 PM
RE: Using the Raised Cosine Distribution in PRNG  Namir  12212016, 03:20 PM
RE: Using the Raised Cosine Distribution in PRNG  mark4flies  12252016, 12:30 PM
RE: Using the Raised Cosine Distribution in PRNG  ttw  12262016 01:37 AM
RE: Using the Raised Cosine Distribution in PRNG  Paul Dale  12262016, 01:42 AM
RE: Using the Raised Cosine Distribution in PRNG  Namir  12262016, 02:12 AM
RE: Using the Raised Cosine Distribution in PRNG  Paul Dale  12262016, 07:39 AM
RE: Using the Raised Cosine Distribution in PRNG  Namir  12262016, 11:03 AM
RE: Using the Raised Cosine Distribution in PRNG  Dieter  12262016, 08:01 PM

User(s) browsing this thread: 1 Guest(s)