Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
remove a deprecated special function (after #21819)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Nov 13, 2018
1 parent 8dafc4e commit 3259d2e
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions src/sage/functions/special.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
by hardware floats precision.
"""

#*****************************************************************************
# ****************************************************************************
# Copyright (C) 2006 William Stein <wstein@gmail.com>
# 2006 David Joyner <wdj@usna.edu>
#
Expand All @@ -155,8 +155,8 @@
#
# The full text of the GPL is available at:
#
# http://www.gnu.org/licenses/
#*****************************************************************************
# https://www.gnu.org/licenses/
# ****************************************************************************

from sage.rings.integer import Integer
from sage.rings.real_mpfr import RealField
Expand All @@ -174,6 +174,7 @@
from sage.functions.all import sqrt, sin, cot, exp
from sage.symbolic.all import I


class SphericalHarmonic(BuiltinFunction):
r"""
Returns the spherical harmonic function `Y_n^m(\theta, \varphi)`.
Expand Down Expand Up @@ -1014,23 +1015,3 @@ def _print_latex_(self, n, z, m):
return r"\Pi(%s,%s,%s)" % (latex(n), latex(z), latex(m))

elliptic_pi = EllipticPi()


def error_fcn(x):
"""
Deprecated in :trac:`21819`. Please use ``erfc()``.
EXAMPLES::
sage: error_fcn(x)
doctest:warning
...
DeprecationWarning: error_fcn() is deprecated. Please use erfc()
See http://trac.sagemath.org/21819 for details.
erfc(x)
"""
from .error import erfc
from sage.misc.superseded import deprecation
deprecation(21819, "error_fcn() is deprecated. Please use erfc()")
return erfc(x)

0 comments on commit 3259d2e

Please sign in to comment.