Re: Issue 2511 in sympy: Document how to use lambdas in replace (was: Bug with replace)

2012-04-30 Thread sympy
Updates: Summary: Document how to use lambdas in replace (was: Bug with replace) Labels: -WrongResult Documentation Comment #6 on issue 2511 by julien.r...@gmail.com: Document how to use lambdas in replace (was: Bug with replace) http://code.google.com/p/sympy/issues/detail?id=

Re: Issue 2416 in sympy: Exponential function exp(I*k**2*pi) simplifies to -1

2012-04-30 Thread sympy
Updates: Status: Fixed Comment #4 on issue 2416 by smi...@gmail.com: Exponential function exp(I*k**2*pi) simplifies to -1 http://code.google.com/p/sympy/issues/detail?id=2416 k = Symbol('k', integer=True) exp(I*k**2*pi) exp(I*pi*k**2) k = Symbol('k', integer=True, odd=True) exp(I*k

Re: Issue 2416 in sympy: Exponential function exp(I*k**2*pi) simplifies to -1

2012-04-30 Thread sympy
Updates: Owner: julien.r...@gmail.com Comment #5 on issue 2416 by julien.r...@gmail.com: Exponential function exp(I*k**2*pi) simplifies to -1 http://code.google.com/p/sympy/issues/detail?id=2416 For reference this was https://github.com/sympy/sympy/pull/1270 -- You received this mess

Re: Issue 2662 in sympy: conjugate(x).diff(x) is wrong

2012-04-30 Thread sympy
Updates: Status: Started Owner: julien.r...@gmail.com Cc: asmeu...@gmail.com Labels: NeedsReview Comment #4 on issue 2662 by julien.r...@gmail.com: conjugate(x).diff(x) is wrong http://code.google.com/p/sympy/issues/detail?id=2662 A lot of the code assumes that

Re: Issue 2664 in sympy: sign(x) should reduce to x/abs(x) when x is known to not be 0

2012-04-30 Thread sympy
Comment #3 on issue 2664 by julien.r...@gmail.com: sign(x) should reduce to x/abs(x) when x is known to not be 0 http://code.google.com/p/sympy/issues/detail?id=2664 In https://github.com/sympy/sympy/pull/1271 sign(x).doit() reduces to x/Abs(x). -- You received this message because you ar

Re: Issue 2949 in sympy: trig functions do not return exact results for half angles

2012-04-30 Thread sympy
Comment #8 on issue 2949 by trel...@psu.edu: trig functions do not return exact results for half angles http://code.google.com/p/sympy/issues/detail?id=2949 I ran into a problem evaluating cos(pi/12) the other day, and came accross this issue when trying to determine how best to proceed. I

Re: Issue 2949 in sympy: trig functions do not return exact results for half angles

2012-04-30 Thread sympy
Updates: Labels: Simplify Comment #9 on issue 2949 by asmeu...@gmail.com: trig functions do not return exact results for half angles http://code.google.com/p/sympy/issues/detail?id=2949 Memoizing results is fine if it would otherwise be too slow (exponential time). See the @recurre

Re: Issue 3249 in sympy: Difficulty with integrate(exp(I*x)/(1 + x**2), (x, -oo, oo))

2012-04-30 Thread sympy
Comment #5 on issue 3249 by ness...@gmail.com: Difficulty with integrate(exp(I*x)/(1 + x**2), (x, -oo, oo)) http://code.google.com/p/sympy/issues/detail?id=3249 Here is a pull request for the evaluation problem. I will think about the symbolics next ^^. https://github.com/sympy/sympy/pull

Issue 3252 in sympy: Quantum Circuit Optimization with Genetic Algorithms

2012-04-30 Thread sympy
Status: Valid Owner: Labels: Type-Enhancement Quantum New issue 3252 by ohsche...@gmail.com: Quantum Circuit Optimization with Genetic Algorithms http://code.google.com/p/sympy/issues/detail?id=3252 Genetic algorithms have been gaining attention as an approach to generating new quantum