1 """Core module. Provides the basic operations needed in sympy.
4 from basic
import Basic
, S
5 from symbol
import Symbol
, Wild
, symbols
6 from numbers
import Number
, Real
, Rational
, Integer
10 from relational
import Equality
, Inequality
, Unequality
, StrictInequality
11 from function
import Lambda
, Apply
, FApply
, Composition
, FPow
, \
12 WildFunction
, Derivative
, diff
, FunctionClass
, Function2
, \
14 from interval
import Interval
16 # set repr output to pretty output:
17 Basic
.set_repr_level(1)
19 # expose singletons like exp, log, oo, I, etc.
20 for _n
, _cls
in Basic
.singleton
.items():
21 exec '%s = _cls()' % (_n
)
23 sympify
= Basic
.sympify
25 class Function(Basic
):
27 class DefinedFunction(Function
):