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

Commit

Permalink
21819: Rewrite error functions and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Apr 11, 2017
1 parent 4f31f7b commit b56829c
Show file tree
Hide file tree
Showing 8 changed files with 545 additions and 262 deletions.
1 change: 1 addition & 0 deletions src/doc/en/reference/functions/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Functions
sage/functions/trig
sage/functions/hyperbolic
sage/functions/transcendental
sage/functions/error
sage/functions/piecewise
sage/functions/spike_function
sage/functions/orthogonal_polys
Expand Down
6 changes: 6 additions & 0 deletions src/doc/en/reference/references/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,10 @@ REFERENCES:
Functions, in NIST Digital Library of Mathematical
Functions. http://dlmf.nist.gov/10
.. [DLMF-Error] \N. M. Temme: 7. Error Functions, Dawson’s and Fresnel
Integrals, in NIST Digital Library of Mathematical
Functions. http://dlmf.nist.gov/7
.. [DLMF-Struve] \R. B. Paris: 11. Struve and Related Functions, in
NIST Digital Library of Mathematical
Functions. http://dlmf.nist.gov/11
Expand Down Expand Up @@ -1630,6 +1634,8 @@ REFERENCES:
.. [WP-Bessel] :wikipedia:`Bessel_function`
.. [WP-Error] :wikipedia:`Error_function`
.. [WP-Struve] :wikipedia:`Struve_function`
.. _ref-X:
Expand Down
8 changes: 5 additions & 3 deletions src/sage/functions/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

lazy_import('sage.functions.piecewise_old', 'Piecewise') # deprecated
lazy_import('sage.functions.piecewise', 'piecewise')
lazy_import('sage.functions.error', ['erf', 'erfi', 'erfc',
'erfinv', 'error_fcn'])

from .trig import ( sin, cos, sec, csc, cot, tan,
asin, acos, atan,
Expand All @@ -21,7 +23,7 @@


from .other import ( ceil, floor, gamma, psi, factorial, beta, binomial,
abs_symbolic, erf, sqrt, log_gamma,
abs_symbolic, sqrt, log_gamma,
gamma_inc, incomplete_gamma, gamma_inc_lower,
arg, real_part, real, frac,
imag_part, imag, imaginary, conjugate)
Expand All @@ -37,8 +39,7 @@
spherical_bessel_J, spherical_bessel_Y,
spherical_hankel1, spherical_hankel2)

from .special import (spherical_harmonic,
error_fcn, elliptic_e,
from .special import (spherical_harmonic, elliptic_e,
elliptic_f, elliptic_ec, elliptic_eu,
elliptic_kc, elliptic_pi, elliptic_j)

Expand Down Expand Up @@ -84,3 +85,4 @@
exponential_integral_1, Ei, exp_integral_ei)

from .hypergeometric import hypergeometric, hypergeometric_M, hypergeometric_U

Loading

0 comments on commit b56829c

Please sign in to comment.