Skip to content

Commit

Permalink
Fix erf docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Sep 22, 2016
1 parent 6a09296 commit e46374b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions base/special/erf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,38 @@ end
Compute the error function of `x`, defined by ``\\frac{2}{\\sqrt{\\pi}} \\int_0^x e^{-t^2} dt``
for arbitrary complex `x`.
"""
function erf(x) end
erf(x)

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


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

"""
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)``.
"""
function erfcx(x) end
erfcx(x)

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

# Compute the inverse of the error function: erf(erfinv(x)) == x,
# using the rational approximants tabulated in:
Expand Down

0 comments on commit e46374b

Please sign in to comment.