Esempio n. 1
0
 def _eval_as_leading_term(self, x):
     if not self.exp.has(x):
         return Pow(self.base.as_leading_term(x), self.exp)
     return C.exp(self.exp * C.log(self.base)).as_leading_term(x)
Esempio n. 2
0
 def _eval_power(self, exp):
     return C.exp(exp)
Esempio n. 3
0
File: power.py Progetto: Maihj/sympy
 def _eval_as_leading_term(self, x):
     if not self.exp.has(x):
         return Pow(self.base.as_leading_term(x), self.exp)
     return C.exp(self.exp * C.log(self.base)).as_leading_term(x)
Esempio n. 4
0
File: numbers.py Progetto: NO2/sympy
 def _eval_power(self, exp):
     return C.exp(exp)