@thi.ng/random
Version:
Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
14 lines • 437 B
TypeScript
import type { IRandom } from "../api.js";
/**
* HOF. Returns zero-arg function, yielding values with normal distribution
* for given `bias` and standard deviation `sigma`.
*
* @remarks
* Also see {@link gaussian} for alternative implementation.
*
* @param rnd -
* @param bias -
* @param sigma -
*/
export declare const normal: (rnd?: IRandom, bias?: number, sigma?: number) => () => number;
//# sourceMappingURL=normal.d.ts.map