D(Sin(x)^2, x) gives result as 2cos(x)^2
Issue #5
resolved
With your latest library D(Sin(x)^2, x) Expected output : 2Sin(x)Cos(x) Output : 2cos(x)^2
Comments (4)
-
repo owner -
I used SymjaDroid with your latest jar
-
repo owner Don't know why, but in the Android emulator environment the java.util.AbstractList#equals() gets true comparing Sin(x) and Cos(x) ?
With this change there's a workaround implemented in HMArrayList#equals() method: https://bitbucket.org/axelclk/symja_android_library/commits/06ae1c0d6aa367164a355526a7d5153c32e1953c
-
repo owner - changed status to resolved
- Log in to comment
I cannot reproduce the issue? Can you a show a code snippet, how you tested it?
See this JUnit test: https://bitbucket.org/axelclk/symjaunittests/commits/bc2580ff06994c40e350305868cc7dd01c0d531c