Hi Brian!
On Mon, Mar 29, 2010 at 7:50 PM, Brian Granger <[email protected]> wrote:
> Hi,
[...]
>
> What do people think?
First of all -- thanks for taking an initiative on this!
I suggest to take all functions in the cathegory 2 (Only global
function) and add them as methods of Basic too, in the manner that I
wrote in my previous email on this, e.g.:
--- a/sympy/core/basic.py
+++ b/sympy/core/basic.py
@@ -2256,6 +2256,10 @@ def _eval_nseries(self, x, x0, n):
"""
raise NotImplementedError("(%s).nseries(%s, %s, %s)" % (self, x, x0, n)
+ def simplify(self):
+ from sympy import simplify
+ return simplify(self)
+
def limit(self, x, xlim, direction='+'):
""" Compute limit x->xlim.
"""
This will not make the core more complex or less maintainable, and it
will fix this problem, that you reported, that annoys me too. So far
the opposing argument (from Ronan) is:
"
I agree that it's not too bad (I thought you meant something more
complex), but I'm still (weakly) against it since it introduces a
dependency of the core on the rest of code.
"
Is there anyone who has similar or stronger negative view on the above
change? If so, please speak up. If not, let's make the above thing
happen, let's say in a day or two.
Thanks,
Ondrej
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.