/** * Computes the generalized Marcum-Q function. The dispatcher selects, by the * (mu, x, y) regime, the series expansion (Section 3), the large-xi asymptotic * expansion (Section 4.1), the recurrence relation (Eq. 14, transition band * with mu < 135), the large-mu asymptotic expansion (Section 4.2, transition * band with mu >= 135) or the quadrature method (Section 5). Implementation * source: https://arxiv.org/pdf/1311.0681.pdf. * * @method marcumQ * @memberof ran.special * @param {number} mu The order of the function. * @param {number} x First variable. * @param {number} y Second variable. * @return {number} The generalized Marcum-Q function at the specified values. * @private */ export default function (mu: number, x: number, y: number): number; /** * Computes the complementary generalized Marcum function P_M = 1 − Q_M without * forming the subtraction `1 - marcumQ(...)`. Use this in place of * `1 - marcumQ(...)` whenever the result is expected to be small (e.g. the * lower-tail CDF of noncentral chi-squared family distributions): each * computation branch evaluates the smaller of P and Q directly, so the deep * lower tail never loses precision to catastrophic cancellation (see #245). * * @method marcumP * @memberof ran.special * @param {number} mu The order of the function. * @param {number} x First variable. * @param {number} y Second variable. * @return {number} The complementary Marcum function 1 − Q_M. * @private */ export declare function marcumP(mu: number, x: number, y: number): number;