Skip to content

irwinHall

irwinHall(options): NumberSampler

Defined in: src/distribution/continuous/sums.ts:21

Irwin-Hall: the sum of n uniforms. With n of 12 it is a cheap normal approximation.

IrwinHallOptions

NumberSampler

irwinHall({ n: 12 }).sample(); // 6.1284...