diff --git a/sympy/core/basic.py b/sympy/core/basic.py
index d5e4262..742ec9c 100644
--- a/sympy/core/basic.py
+++ b/sympy/core/basic.py
@@ -1899,6 +1899,15 @@ class Basic(AssumeMeths):
from sympy.integrals import integrate
return integrate(self, *args, **kwargs)
+ def simplify(self):
+ """
+ Calls simplify(self).
+
+ See simplify's doctest for more documentation.
+ """
+ from sympy import simplify
+ return simplify(self)
+
#XXX fix the removeme
def __call__(self, *args, **removeme):
return Function(self[0])(*args)
diff --git a/sympy/core/tests/test_basic.py b/sympy/core/tests/test_basic.py
index 41730c5..b3c60cc 100644
--- a/sympy/core/tests/test_basic.py
+++ b/sympy/core/tests/test_basic.py
@@ -575,3 +575,6 @@ def test_integrate():
assert (log(x)).integrate((x, 0, 1)) == -1
assert sin(x).integrate(x) == -cos(x)
assert sin(x).integrate(('x',0,1)) == 1 - cos(1)
+
+def test_simplify():
+ assert sin(x).simplify() == sin(x)
--
1.5.6.5
Yeah. I find it handy sometimes, but I agree with your point.
Others, what do you think?
Ondrej
Let's discuss this on our main list:
http://groups.google.com/group/sympy/browse_thread/thread/761421dc172c44f0
Ondrej