@thi.ng/random
Version:
Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
14 lines • 421 B
TypeScript
import type { IRandom } from "../api.js";
/**
* HOF. Returns zero-arg function, yielding uniformly distributed values in the
* `[min,max)` interval (default: `[0,1)`).
*
* @remarks
* This function is syntax sugar for `rnd.minmax()`.
*
* @param rnd -
* @param min -
* @param max -
*/
export declare const uniform: (rnd?: IRandom, min?: number, max?: number) => () => number;
//# sourceMappingURL=uniform.d.ts.map