From 35d17805e94b069ec656204d3a7e9e5afffe4154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Sun, 1 Jan 2017 14:03:45 +0100 Subject: [PATCH] Document DomainError in airyaix and airyaiprimex (#19795) --- base/special/bessel.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base/special/bessel.jl b/base/special/bessel.jl index 54620c83c16e2..7c8a41e887dcc 100644 --- a/base/special/bessel.jl +++ b/base/special/bessel.jl @@ -75,7 +75,8 @@ airybiprime(z::Complex128) = _biry(z, Int32(1), Int32(1)) """ airyaix(x) -Scaled Airy function of the first kind ``\\operatorname{Ai}(x) e^{\\frac{2}{3} x \\sqrt{x}}``. +Scaled Airy function of the first kind ``\\operatorname{Ai}(x) e^{\\frac{2}{3} x +\\sqrt{x}}``. Throws [`DomainError`](@ref) for negative `Real` arguments. """ function airyaix end airyaix(z::Complex128) = _airy(z, Int32(0), Int32(2)) @@ -83,7 +84,8 @@ airyaix(z::Complex128) = _airy(z, Int32(0), Int32(2)) """ airyaiprimex(x) -Scaled derivative of the Airy function of the first kind ``\\operatorname{Ai}'(x) e^{\\frac{2}{3} x \\sqrt{x}}``. +Scaled derivative of the Airy function of the first kind ``\\operatorname{Ai}'(x) +e^{\\frac{2}{3} x \\sqrt{x}}``. Throws [`DomainError`](@ref) for negative `Real` arguments. """ function airyaiprimex end airyaiprimex(z::Complex128) = _airy(z, Int32(1), Int32(2))