Simplify equations like (1 - ((1 - (i/10)) / (1 - (i/10))))
Issue #133
resolved
(1 - ((1 - (i/10)) / (1 - (i/10)))) would be evaluated to 0 etc.
Comments (5)
-
repo owner -
reporter - marked as minor
-
reporter That's great. In an unrelated application Symja did not simplify the following to 0:
util.evaluate("d-d*x1-c/(d*x1)+(c*d)/(d*x1)+(-c*d^2*x1)/(d*x1)+(c*d^2*x1^2)/(d*x1)+x3/(d*x1)+(-d*x3)/(d*x1)+(d*x1*x3)/(d*x1) - " + "( -(c-c*d-d^2*x1+c*d^2*x1+d^2*x1^2-c*d^2*x1^2-x3+d*x3-d*x1*x3)/(d*x1) )");
but I needed it just once for debugging, so not a problem for me.
-
reporter It seems that I can not close this issue, though.
-
repo owner - changed status to resolved
- Log in to comment
At least your example listed above works in the current Java 8 sources.
See MainTestCase#testSystem000b() JUnit test case.