Status: Accepted
Owner: hazelnusse
Labels: Type-Defect Priority-Medium
New issue 1395 by hazelnusse: trigsimp doesn't simplify an expression that
== 1
http://code.google.com/p/sympy/issues/detail?id=1395
I'm writing some tests for some code that expresses a Vector expression in
the coordinates
Updates:
Labels: smichr NeedsReview
Comment #2 on issue 1395 by smi...@gmail.com: trigsimp doesn't simplify an
expression that == 1
http://code.google.com/p/sympy/issues/detail?id=1395
no flags necessary anymore in
https://github.com/sympy/sympy/pull/772
--
You received this message
Updates:
Labels: -smichr -NeedsReview
Comment #4 on issue 1395 by smi...@gmail.com: trigsimp doesn't simplify an
expression that == 1
http://code.google.com/p/sympy/issues/detail?id=1395
(No comment was entered for this change.)
--
You received this message because you are subscribed
Comment #5 on issue 1395 by smi...@gmail.com: trigsimp doesn't simplify an
expression that == 1
http://code.google.com/p/sympy/issues/detail?id=1395
In PR 1690, recursive doesn't work but a double application of trigsimp
does work:
eq
sin(q3)**2*sin(q4)**2 + cos(q3)**2*cos(q4)**2*tan(q4
Updates:
Status: Fixed
Comment #6 on issue 1395 by smi...@gmail.com: trigsimp doesn't simplify an
expression that == 1
http://code.google.com/p/sympy/issues/detail?id=1395
It works the first time without recursion now:
trigsimp(S('''cos(q4)**2 + sin(q3)**2*sin(q4)**2 +
cos(q3)**2*c
Comment #1 on issue 1395 by kazuo.thow: trigsimp doesn't simplify an
expression that == 1
http://code.google.com/p/sympy/issues/detail?id=1395
Just for the sake of making a note of it here - using the recursive=True
option in trigsimp gives you the expected result:
In [1]: a, b = symbols(