Comment #3 on issue 3819 by [email protected]: trigsimp gives bad results
for non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=3819
I put a debug statement in strategies debug function and nothing in the
trigsimp sequence generates an error -- all the Trues are testing whether
input equals output.
var('th')
th
trigsimp(-sin(th)**2*A - sin(2*th)*A/2)
Rule: TR11
In: sin(2*th)
Out: 2*sin(th)*cos(th)
True
Rule: TR8
In: 2*sin(th)*cos(th)
Out: sin(2*th)
True
Rule: TR8
In: 2*sin(th)*cos(th)
Out: sin(2*th)
True
Rule: TR11
In: sin(2*th)
Out: 2*sin(th)*cos(th)
True
Rule: TR8
In: 2*sin(th)*cos(th)
Out: sin(2*th)
True
Rule: TR8
In: 2*sin(th)*cos(th)
Out: sin(2*th)
True
Rule: TR5
In: sin(th)**2
Out: -cos(th)**2 + 1
True
Rule: TR6
In: -cos(th)**2 + 1
Out: sin(th)**2
True
Rule: TR8
In: sin(th)**2
Out: -cos(2*th)/2 + 1/2
True
Rule: TR8
In: sin(th)**2
Out: -cos(2*th)/2 + 1/2
True
Rule: TR5
In: sin(th)**2
Out: -cos(th)**2 + 1
True
Rule: TR5
In: sin(th)**2
Out: -cos(th)**2 + 1
True
Rule: TR6
In: -cos(th)**2 + 1
Out: sin(th)**2
True
Rule: TR8
In: sin(th)**2
Out: -cos(2*th)/2 + 1/2
True
Rule: TR8
In: sin(th)**2
Out: -cos(2*th)/2 + 1/2
True
Rule: TR5
In: sin(th)**2
Out: -cos(th)**2 + 1
True
Rule: TR5
In: -(2*sin(th)**2 + sin(2*th))*A/2
Out: -(sin(2*th) - 2*cos(th)**2 + 2)*A/2
True
Rule: TR11
In: -(sin(2*th) - 2*cos(th)**2 + 2)*A/2
Out: -(2*sin(th)*cos(th) - 2*cos(th)**2 + 2)*A/2
True
Rule: TR6
In: -(2*sin(th)*cos(th) - 2*cos(th)**2 + 2)*A/2
Out: -(2*sin(th)**2 + 2*sin(th)*cos(th))*A/2
True
Rule: TR8
In: -2*sqrt(2)*sin(th)*sin(th + pi/4)*A
Out: sqrt(2)*cos(2*th + pi/4)*A - A
True
Rule: TR8
In: -2*sqrt(2)*sin(th)*sin(th + pi/4)*A
Out: sqrt(2)*cos(2*th + pi/4)*A - A
True
sqrt(2)*cos(2*th + pi/4)*A - A
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.