UNPKG

@thi.ng/random

Version:

Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation

12 lines 466 B
import type { IRandom } from "./api.js"; export declare abstract class ARandom implements IRandom { abstract int(): number; float(norm?: number): number; probability(p: number): boolean; norm(norm?: number): number; normMinMax(min: number, max: number): number; minmax(min: number, max: number): number; minmaxInt(min: number, max: number): number; minmaxUint(min: number, max: number): number; } //# sourceMappingURL=arandom.d.ts.map