functions: there is no need for taylor_term to be classmethod -- it's staticmethod!
commitcbd577a421ee03588e9961f771957f47175fdf88
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Sun, 27 Jan 2008 14:32:06 +0000 (27 17:32 +0300)
committerKirill Smelkov <kirr@landau.phys.spbu.ru>
Sun, 27 Jan 2008 14:32:06 +0000 (27 17:32 +0300)
treeb3ae1074a7e963209515f25ea90d2e4d853b7f6f
parent31f0a21e2928ec1e84db9a339e9e824ff064fd6a
functions: there is no need for taylor_term to be classmethod -- it's staticmethod!

Yes, say why cos.taylor_term needs its class or instance? It just simply
computes cos taylor terms with direct formula.

And also, since taylor_term is cached, less cache space is used (actually I
spot this when working on caching)
sympy/functions/elementary/exponential.py
sympy/functions/elementary/hyperbolic.py
sympy/functions/elementary/trigonometric.py
sympy/functions/special/error_functions.py