2 lines
85 B
Groovy
2 lines
85 B
Groovy
rnd = new Random()
|
|
result = (1..1000).inject([]) { r, i -> r << rnd.nextGaussian() }
|