Random Numbers and ComputersSpringer, 5 apr 2018 - 260 pagine This book covers pseudorandom number generation algorithms, evaluation techniques, and offers practical advice and code examples. Random Numbers and Computers is an essential introduction or refresher on pseudorandom numbers in computer science. The first comprehensive book on the topic, readers are provided with a practical introduction to the techniques of pseudorandom number generation, including how the algorithms work and how to test the output to decide if it is suitable for a particular purpose. Practical applications are demonstrated with hands-on presentation and descriptions that readers can apply directly to their own work. Examples are in C and Python and given with an emphasis on understanding the algorithms to the point of practical application. The examples are meant to be implemented, experimented with and improved/adapted by the reader. |
Sommario
1 | |
2 Generating Uniform Random Numbers | 26 |
3 Generating Nonuniform Random Numbers | 81 |
4 Testing Pseudorandom Generators | 115 |
5 Parallel Random Number Generators | 159 |
Altre edizioni - Visualizza tutto
Parole e frasi comuni
32-bit values algorithm bins bits Blum Blum Shub Box-Muller transform break byte file calculate Chap chapter char argv CMWC Computers create cryptographically secure pseudorandom define DIEHARD tests dieharder digits double precision entropy FILE g floating-point Fortuna fractal function gamma distribution histogram implement initial iterations KISS linear congruential loop main(int argc Marsaglia Mersenne Twister method Middle Weyl million samples MINSTD Monty Hall multiplication number of samples NumPy output file p-value parameters passed period Philox probability pseudorandom number Python quasirandom random bytes random number random seeding random sequence RANDOM.ORG randomness tests RANDU score Sect seed value sequence of numbers simply simulation statistic straightforward stream test suites TestU01 Threefry threefry2x64 ctr truly random uint32_t uint64_t uinto 4_t uniform samples unsigned 32-bit integers unsigned integers unsigned long vector xorshift xorshift128+ xorshift32 zero