Ejemplo n.º 1
0
 def _eval_as_leading_term(self, x):
     if not self.exp.has(x):
         return self.base.as_leading_term(x) ** self.exp
     return Basic.exp(self.exp * Basic.log(self.base)).as_leading_term(x)
Ejemplo n.º 2
0
 def _eval_power(self, exp):
     return Basic.exp(exp)