]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
Remove medium_simplify() now that simplify_radical() was removed from full_simplify().
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 16 Aug 2013 20:51:47 +0000 (16:51 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 16 Aug 2013 20:51:47 +0000 (16:51 -0400)
mjo/symbolic.py

index d2a13298bb74dfbcc18a15434b6427d9aaf911cf..e2645a30ed7fe33ceb8fb787d51bfaf87305f1ad 100644 (file)
@@ -44,18 +44,3 @@ def safe_simplify(expr):
     expr = expr.simplify_factorial()
     expr = expr.simplify_log()
     return expr
-
-
-def medium_simplify(expr):
-    """
-    A reasonably-safe set of simplifications, much better than
-    simplify() and safer than simplify_full()
-
-    Uses a top-level function because we can't monkey-patch Cython
-    classes.
-    """
-    expr = expr.simplify_factorial()
-    expr = expr.simplify_trig()
-    expr = expr.simplify_rational()
-    expr = expr.simplify_log()
-    return expr