| fc44a893 | 07-Sep-2017 |
Toby Isaac <tisaac@cc.gatech.edu> |
PetscRandom: birthday spacing for failures of rand48, sprng
The birthday spacing test: if we divide up the unit hypercube into equal size numbered bins, put random points in those bins, and count th
PetscRandom: birthday spacing for failures of rand48, sprng
The birthday spacing test: if we divide up the unit hypercube into equal size numbered bins, put random points in those bins, and count the number of times the same jump between successive bins occurs, then for a large number of bins and points we expect that collision count to follow a Poisson distribution. Poor quality PRNGs produce way too many collisions to be random, which this test demonstrates
show more ...
|
| e4e5cec9 | 02-Sep-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
Converted PETSCRANDER48 to keep its state inside the PetscRandom object thus allowing multiple independent streams of random numbers to be generated with different PetscRandom objects. Also defined i
Converted PETSCRANDER48 to keep its state inside the PetscRandom object thus allowing multiple independent streams of random numbers to be generated with different PetscRandom objects. Also defined internal functions as static
show more ...
|