Re: Issue 1684 in sympy: trigsimp of cos(pi*n) if n is an integer

2011-10-01 Thread sympy
Comment #3 on issue 1684 by sat...@gmail.com: trigsimp of cos(pi*n) if n is an integer http://code.google.com/p/sympy/issues/detail?id=1684 It cool! -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this group, send email to

Re: Issue 1684 in sympy: trigsimp of cos(pi*n) if n is an integer

2011-09-30 Thread sympy
Updates: Status: Fixed Comment #2 on issue 1684 by asmeurer: trigsimp of cos(pi*n) if n is an integer http://code.google.com/p/sympy/issues/detail?id=1684 This is now simplified to (-1)**n automatically. -- You received this message because you are subscribed to the Google Groups

Issue 1684 in sympy: trigsimp of cos(pi*n) if n is an integer

2009-10-26 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1684 by satels: trigsimp of cos(pi*n) if n is an integer http://code.google.com/p/sympy/issues/detail?id=1684 from sympy import trigsimp, Symbol from sympy import cos, pi n = Symbol('n', integer=True) cos(n*pi) cos(pi*n)

Issue 1684 in sympy: trigsimp of cos(pi*n) if n is an integer

2009-10-26 Thread codesite-noreply
Updates: Status: Accepted Cc: hazelnusse Comment #1 on issue 1684 by asmeurer: trigsimp of cos(pi*n) if n is an integer http://code.google.com/p/sympy/issues/detail?id=1684 It should be (-1)**n, yes? I wonder if Luke has this implemented in his branch. -- You received this