/** * Computes the regularized lower incomplete gamma function. * * @method gammaLowerIncomplete * @memberof ran.special * @param {number} s Exponent of the integrand. * @param {number} x Upper boundary of the integration. * @return {number} The regularized lower incomplete gamma function. * @private */ export declare function gammaLowerIncomplete(s: number, x: number): number; /** * Computes the regularized upper incomplete gamma function. * * @method gammaUpperIncomplete * @memberof ran.special * @param {number} s Exponent of the integrand. * @param {number} x Lower boundary of the integration. * @return {number} The regularized upper incomplete gamma function. * @private */ export declare function gammaUpperIncomplete(s: number, x: number): number; /** * Computes the inverse of the regularized lower incomplete gamma function: returns x * such that gammaLowerIncomplete(a, x) = p. Uses Wilson-Hilferty initial estimate * refined by Halley iterations (third-order convergence, typically 2-3 steps). * * @method gammaLowerIncompleteInv * @memberof ran.special * @param {number} a Shape parameter (a > 0). * @param {number} p Target probability (0 <= p <= 1). * @returns {number} Value x such that gammaLowerIncomplete(a, x) = p. * @private */ export declare function gammaLowerIncompleteInv(a: number, p: number): number;