forked from sympy/sympy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
__init__.py
39 lines (31 loc) · 1.54 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"""A functions module, inculdes all the standart functions.
Combinatorial - factorial, fibonacci, harmonic, bernoulli...
Elementary - hyperbolic, trigonometric, exponential, floor and ceiling, sqrt...
Special - gamma, zeta,spherical harmonics...
"""
from sympy.core.basic import Basic
import combinatorial
import elementary
import special
from special.polynomials import legendre, assoc_legendre, hermite, chebyshevt, chebyshevu, \
chebyshevu_root, chebyshevt_root
# see #391
from combinatorial.factorials import factorial, rf, ff, binomial
from combinatorial.factorials import Factorial, RisingFactorial, FallingFactorial, Binomial
from combinatorial.numbers import fibonacci, lucas, harmonic, bernoulli, bell
from elementary.miscellaneous import sqrt, min_, max_
from elementary.complexes import re, im, sign, abs, conjugate, arg
from elementary.trigonometric import acot, cot, tan, cos, sin, asin, acos, atan, atan2
from elementary.exponential import exp, log, LambertW
from elementary.hyperbolic import sinh, cosh, tanh, coth, asinh, acosh, atanh, acoth
from elementary.integers import floor, ceiling
from elementary.piecewise import Piecewise
from special.error_functions import erf
from special.gamma_functions import gamma, lowergamma, uppergamma, polygamma, loggamma
from special.zeta_functions import dirichlet_eta, zeta
from special.spherical_harmonics import Ylm, Zlm
from special.tensor_functions import Dij, Eijk
from special.delta_functions import DiracDelta, Heaviside
ln = log
for _n, _cls in Basic.singleton.items():
exec '%s = _cls()' % (_n)