I would take a look at the fu paper for more references on what these rules are supposed to be, but I suspect that this is a bug.
Aaron Meurer On Fri, Mar 27, 2015 at 7:01 PM, Jeremy Holleman <jeremy.holle...@gmail.com> wrote: > I just mean that if I'm trying to write a script and I want to reduce all of > the powers of cos or sin, I'm not sure how I would code that, because I > can't tell if there's a pattern of which calls need to be made in which > order to reduce an arbitrary polynomial of trig functions. For my present > purpose, I'm doing the analysis interactively, so a little trial-and-error > is fine. For future projects I'm trying to get a clearer understanding of > how these functions work. So for example, why does TR7(cos(x)**7) just > return cos(x)**7? > > Thanks, > Jeremy > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/1a9d685b-8fa9-4664-9b97-8756c9797ac8%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6Jp-8%3DPLFthMxee53B_Fkfv0VB7J7d%3DPix710iaFQrYfg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.