Beispiel #1
0
 def _eval_nseries(self, x, n, logx):
     i = self.args[0].limit(x, 0)/S.Pi
     if i and i.is_Integer:
         return self.rewrite(cos)._eval_nseries(x, n=n, logx=logx)
     return Function._eval_nseries(self, x, n=n, logx=logx)
 def _eval_nseries(self, x, n, logx):
     i = self.args[0].limit(x, 0) / S.Pi
     if i and i.is_Integer:
         return self.rewrite(cos)._eval_nseries(x, n=n, logx=logx)
     return Function._eval_nseries(self, x, n=n, logx=logx)