/** * Generates random numbers or arrays of random numbers for a (type I) Pareto distribution * with tail index `alpha` and minimum `xm`: P(X > x) = (xm / x)^alpha for x >= xm. * * Note: numpy's `pareto(a)` is the Pareto II / Lomax distribution, available here as {@link lomax}. * `pareto(a, 1) - 1` has the same distribution as numpy's `pareto(a)`. * * @param {number} alpha - The tail index (> 0). * @param {number} [xm=1] - The minimum value / scale (> 0). * @param {number|Array|null} [size=null] - The shape of the output: * - If `null`, a single number is returned. * - If a number, a 1D array of the specified size is returned. * - If an array (e.g., [m, n]), a multidimensional array of the specified shape is returned. * @throws {Error} If `alpha` or `xm` are not positive numbers. * @returns {number|Array} A single sample, an array, or a multidimensional array of Pareto numbers. */ export function pareto(alpha: number, xm?: number, size?: number | any[] | null): number | any[]; /** * Draws samples from a Pareto II (Lomax) distribution with shape `a`, location 0 and scale 1. * This is numpy's `pareto(a)`. * * @param {number} a - Shape (> 0). * @param {number|Array|null} [size=null] - Output shape. * @returns {number|Array} */ export function lomax(a: number, size?: number | any[] | null): number | any[];