
Deterministic standard normals from the shared LCG + Box-Muller (hmdfw)
Source:R/geron_w4a_native.R
morie_lcg_normal.RdDraw-for-draw match to Python morie.fn.hmdfw.lcg_normal: odd-length
shapes draw one extra pair and discard the last value.
Examples
morie_lcg_normal(shape = c(2, 3), seed = 7)
#> [,1] [,2] [,3]
#> [1,] 1.4485494 -0.8752844 0.8877775
#> [2,] -0.4385101 1.5130837 -1.9309506