/** * Computes the error function. * * @method erf * @memberof ran.special * @param {number} x Value to evaluate the error function at. * @returns {number} Error function value. * @private */ export declare function erf(x: number): number; /** * Computes the complementary error function. * * @method erfc * @memberof ran.special * @param {number} x Value to evaluate the complementary error function at. * @returns {number} Complementary error function value. * @private */ export declare function erfc(x: number): number; /** * Computes the scaled complementary error function erfcx(x) = exp(x²)·erfc(x). * Avoids overflow for large positive x (where erfc(x) underflows) by using the * Laplace CF without the exp(−x²) factor; remains finite as x → +∞ (~1/(x√π)). * * @method erfcx * @memberof ran.special * @param {number} x Value to evaluate the scaled complementary error function at. * @returns {number} Scaled complementary error function value. * @private */ export declare function erfcx(x: number): number; /** * Computes the inverse error function. * * @method erfinv * @memberof ran.special * @param {number} x Value to evaluate the inverse error function at. * @return {number} The inverse error function value. * @private */ export declare function erfinv(x: number): number;