61 lines
1.2 KiB
Python
61 lines
1.2 KiB
Python
|
"""The module helps converting SymPy expressions into shorter forms of them.
|
||
|
|
||
|
for example:
|
||
|
the expression E**(pi*I) will be converted into -1
|
||
|
the expression (x+x)**2 will be converted into 4*x**2
|
||
|
"""
|
||
|
from .simplify import (simplify, hypersimp, hypersimilar,
|
||
|
logcombine, separatevars, posify, besselsimp, kroneckersimp,
|
||
|
signsimp, nsimplify)
|
||
|
|
||
|
from .fu import FU, fu
|
||
|
|
||
|
from .sqrtdenest import sqrtdenest
|
||
|
|
||
|
from .cse_main import cse
|
||
|
|
||
|
from .epathtools import epath, EPath
|
||
|
|
||
|
from .hyperexpand import hyperexpand
|
||
|
|
||
|
from .radsimp import collect, rcollect, radsimp, collect_const, fraction, numer, denom
|
||
|
|
||
|
from .trigsimp import trigsimp, exptrigsimp
|
||
|
|
||
|
from .powsimp import powsimp, powdenest
|
||
|
|
||
|
from .combsimp import combsimp
|
||
|
|
||
|
from .gammasimp import gammasimp
|
||
|
|
||
|
from .ratsimp import ratsimp, ratsimpmodprime
|
||
|
|
||
|
__all__ = [
|
||
|
'simplify', 'hypersimp', 'hypersimilar', 'logcombine', 'separatevars',
|
||
|
'posify', 'besselsimp', 'kroneckersimp', 'signsimp',
|
||
|
'nsimplify',
|
||
|
|
||
|
'FU', 'fu',
|
||
|
|
||
|
'sqrtdenest',
|
||
|
|
||
|
'cse',
|
||
|
|
||
|
'epath', 'EPath',
|
||
|
|
||
|
'hyperexpand',
|
||
|
|
||
|
'collect', 'rcollect', 'radsimp', 'collect_const', 'fraction', 'numer',
|
||
|
'denom',
|
||
|
|
||
|
'trigsimp', 'exptrigsimp',
|
||
|
|
||
|
'powsimp', 'powdenest',
|
||
|
|
||
|
'combsimp',
|
||
|
|
||
|
'gammasimp',
|
||
|
|
||
|
'ratsimp', 'ratsimpmodprime',
|
||
|
]
|