|
|
◆ _init_zignorm_r()
| void _init_zignorm_r |
( |
int |
n | ) |
|
Initialization for normal random number generator (Ziggurat method) (reverse communication version)
- Purpose
- Initializes the normal random number generator zignorm_r().
- Parameters
-
| [in] | n | The number of rectangles used in Ziggurat method. n = 128 or 256 can be specified. (if other value is given, 256 will be assumed) |
- Note
- init_zignorm() and init_zignorm_r() initialize the same rectangles shared by zignorm() and zignorm_r().
- Reference
- Yatsuji Tetsuaki, "Probability distribution random number generation method" 2nd ed., Pleiades Publishing, 2019. (Japanese book)
|