Functions

Base.erfFunction.
erf(x)

Compute the error function of x, defined by $\frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} dt$ for arbitrary complex x.

source
Base.erfcFunction.
erfc(x)

Compute the complementary error function of x, defined by $1 - \operatorname{erf}(x)$.

source
Base.erfcxFunction.
erfcx(x)

Compute the scaled complementary error function of x, defined by $e^{x^2} \operatorname{erfc}(x)$. Note also that $\operatorname{erfcx}(-ix)$ computes the Faddeeva function $w(x)$.

source
Base.erfiFunction.
erfi(x)

Compute the imaginary error function of x, defined by $-i \operatorname{erf}(ix)$.

source
Base.dawsonFunction.
dawson(x)

Compute the Dawson function (scaled imaginary error function) of x, defined by $\frac{\sqrt{\pi}}{2} e^{-x^2} \operatorname{erfi}(x)$.

source
Base.erfinvFunction.
erfinv(x)

Compute the inverse error function of a real x, defined by $\operatorname{erf}(\operatorname{erfinv}(x)) = x$.

source
Base.erfcinvFunction.
erfcinv(x)

Compute the inverse error complementary function of a real x, defined by $\operatorname{erfc}(\operatorname{erfcinv}(x)) = x$.

source
Base.digammaFunction.
digamma(x)

Compute the digamma function of x (the logarithmic derivative of gamma(x)).

source
Base.invdigammaFunction.
invdigamma(x)

Compute the inverse digamma function of x.

source
Base.trigammaFunction.
trigamma(x)

Compute the trigamma function of x (the logarithmic second derivative of gamma(x)).

source
Base.polygammaFunction.
polygamma(m, x)

Compute the polygamma function of order m of argument x (the (m+1)th derivative of the logarithm of gamma(x))

source
Base.airyaiFunction.
airyai(x)

Airy function of the first kind $\operatorname{Ai}(x)$.

source
Base.airyaiprimeFunction.
airyaiprime(x)

Derivative of the Airy function of the first kind $\operatorname{Ai}'(x)$.

source
Base.airyaixFunction.
airyaix(x)

Scaled Airy function of the first kind $\operatorname{Ai}(x) e^{\frac{2}{3} x \sqrt{x}}$. Throws DomainError for negative Real arguments.

source
Base.airyaiprimexFunction.
airyaiprimex(x)

Scaled derivative of the Airy function of the first kind $\operatorname{Ai}'(x) e^{\frac{2}{3} x \sqrt{x}}$. Throws DomainError for negative Real arguments.

source
Base.airybiFunction.
airybi(x)

Airy function of the second kind $\operatorname{Bi}(x)$.

source
Base.airybiprimeFunction.
airybiprime(x)

Derivative of the Airy function of the second kind $\operatorname{Bi}'(x)$.

source
Base.airybixFunction.
airybix(x)

Scaled Airy function of the second kind $\operatorname{Bi}(x) e^{- \left| \operatorname{Re} \left( \frac{2}{3} x \sqrt{x} \right) \right|}$.

source
Base.airybiprimexFunction.
airybiprimex(x)

Scaled derivative of the Airy function of the second kind $\operatorname{Bi}'(x) e^{- \left| \operatorname{Re} \left( \frac{2}{3} x \sqrt{x} \right) \right|}$.

source
Base.besselj0Function.
besselj0(x)

Bessel function of the first kind of order 0, $J_0(x)$.

source
Base.besselj1Function.
besselj1(x)

Bessel function of the first kind of order 1, $J_1(x)$.

source
Base.besseljFunction.
besselj(nu, x)

Bessel function of the first kind of order nu, $J_\nu(x)$.

source
Base.besseljxFunction.
besseljx(nu, x)

Scaled Bessel function of the first kind of order nu, $J_\nu(x) e^{- | \operatorname{Im}(x) |}$.

source
Base.bessely0Function.
bessely0(x)

Bessel function of the second kind of order 0, $Y_0(x)$.

source
Base.bessely1Function.
bessely1(x)

Bessel function of the second kind of order 1, $Y_1(x)$.

source
Base.besselyFunction.
bessely(nu, x)

Bessel function of the second kind of order nu, $Y_\nu(x)$.

source
Base.besselyxFunction.
besselyx(nu, x)

Scaled Bessel function of the second kind of order nu, $Y_\nu(x) e^{- | \operatorname{Im}(x) |}$.

source
Base.hankelh1Function.
hankelh1(nu, x)

Bessel function of the third kind of order nu, $H^{(1)}_\nu(x)$.

source
Base.hankelh1xFunction.
hankelh1x(nu, x)

Scaled Bessel function of the third kind of order nu, $H^{(1)}_\nu(x) e^{-x i}$.

source
Base.hankelh2Function.
hankelh2(nu, x)

Bessel function of the third kind of order nu, $H^{(2)}_\nu(x)$.

source
Base.hankelh2xFunction.
hankelh2x(nu, x)

Scaled Bessel function of the third kind of order nu, $H^{(2)}_\nu(x) e^{x i}$.

source
Base.besselhFunction.
besselh(nu, [k=1,] x)

Bessel function of the third kind of order nu (the Hankel function). k is either 1 or 2, selecting hankelh1 or hankelh2, respectively. k defaults to 1 if it is omitted. (See also besselhx for an exponentially scaled variant.)

source
Base.besselhxFunction.
besselhx(nu, [k=1,] z)

Compute the scaled Hankel function $\exp(∓iz) H_ν^{(k)}(z)$, where $k$ is 1 or 2, $H_ν^{(k)}(z)$ is besselh(nu, k, z), and $∓$ is $-$ for $k=1$ and $+$ for $k=2$. k defaults to 1 if it is omitted.

The reason for this function is that $H_ν^{(k)}(z)$ is asymptotically proportional to $\exp(∓iz)/\sqrt{z}$ for large $|z|$, and so the besselh function is susceptible to overflow or underflow when z has a large imaginary part. The besselhx function cancels this exponential factor (analytically), so it avoids these problems.

source
Base.besseliFunction.
besseli(nu, x)

Modified Bessel function of the first kind of order nu, $I_\nu(x)$.

source
Base.besselixFunction.
besselix(nu, x)

Scaled modified Bessel function of the first kind of order nu, $I_\nu(x) e^{- | \operatorname{Re}(x) |}$.

source
Base.besselkFunction.
besselk(nu, x)

Modified Bessel function of the second kind of order nu, $K_\nu(x)$.

source
Base.besselkxFunction.
besselkx(nu, x)

Scaled modified Bessel function of the second kind of order nu, $K_\nu(x) e^x$.

source
Base.etaFunction.
eta(x)

Dirichlet eta function $\eta(s) = \sum^\infty_{n=1}(-1)^{n-1}/n^{s}$.

source
Base.zetaFunction.
zeta(s, z)

Generalized zeta function $\zeta(s, z)$, defined by the sum $\sum_{k=0}^\infty ((k+z)^2)^{-s/2}$, where any term with $k+z=0$ is excluded. For $\Re z > 0$, this definition is equivalent to the Hurwitz zeta function $\sum_{k=0}^\infty (k+z)^{-s}$. For $z=1$, it yields the Riemann zeta function $\zeta(s)$.

source
zeta(s)

Riemann zeta function $\zeta(s)$.

source