UNPKG

random

Version:

Seedable random number generator supporting many common distributions.

9 lines 275 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = (random, mu = 0, sigma = 1) => { const normal = random.normal(mu, sigma); return () => { return Math.exp(normal()); }; }; //# sourceMappingURL=log-normal.js.map