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
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
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)
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