[sympy] Constant in trig solution?

2014-10-28 Thread Dario Beraldi
Hello, This might be a super dumb question... If you do solve(sin(x)) You get Out[1]: [0, π] But shouldn't the "complete" answer be [0, pi * k] with k any integer? This is on SymPy 0.7.5 Thanks for clarification! Dario -- You received this message because you are subscribed to the Googl

[sympy] A goof-up in symbolic math software

2014-10-28 Thread Joachim Durchholz
http://www.ams.org/notices/201410/rnoti-p1249.pdf It's hammering Mathematica, but of course bugs like that can happen with any symbolic math software. Still, SymPy might be able to milk arguments from it. Such as: being open source, it's easier to find and fix the source of miscalculations lik

[sympy] Re: Constant in trig solution?

2014-10-28 Thread Francesco Bonazzi
It should return a *Mod* object, but it's still unimplemented. On Tuesday, October 28, 2014 12:40:11 PM UTC+1, Dario Beraldi wrote: > > Hello, > > This might be a super dumb question... > > If you do > > solve(sin(x)) > > You get > > Out[1]: [0, π] > > But shouldn't the "complete" answer be [0, pi

Re: [sympy] A goof-up in symbolic math software

2014-10-28 Thread Aaron Meurer
Being open source is definitely a plus for SymPy here. The authors could have stepped through SymPy with a debugger to help figure out their problem, and submitted a pull request for a fix once they found it. It's not always possible, or obvious, but it's best to verify your results somehow. A goo

Re: [sympy] Re: Constant in trig solution?

2014-10-28 Thread Aaron Meurer
At https://github.com/sympy/sympy/pull/7523 this works In [4]: solve_univariate_real(sin(x), x) Out[4]: {2⋅n⋅π | n ∊ ℤ} ∪ {2⋅n⋅π + π | n ∊ ℤ} The issue here is the representation of the infinite set of solutions. It requires a new interface to solve. Aaron Meurer On Tue, Oct 28, 2014 at 8:11 A

[sympy] Prepping for SymPy 0.7.6

2014-10-28 Thread Aaron Meurer
We are just about ready to create a release candidate for SymPy 0.7.6. The only remaining blocking PR to my knowledge is https://github.com/sympy/sympy/pull/8293. I hope to get that merged and a release branch started (and likely a release candidate) by the end of the week. Aaron Meurer -- You r

Re: [sympy] A goof-up in symbolic math software

2014-10-28 Thread Christophe Bal
+1 C. 2014-10-28 17:29 GMT+01:00 Aaron Meurer : > Being open source is definitely a plus for SymPy here. The authors > could have stepped through SymPy with a debugger to help figure out > their problem, and submitted a pull request for a fix once they found > it. > > It's not always possible, o

[sympy] Re: Prepping for SymPy 0.7.6

2014-10-28 Thread James Crist
I really want to get this one in before the release: https://github.com/sympy/sympy/pull/7824. On Tuesday, October 28, 2014 12:24:02 PM UTC-5, Aaron Meurer wrote: > > We are just about ready to create a release candidate for SymPy 0.7.6. > The only remaining blocking PR to my knowledge is > htt

Re: [sympy] How to Contribute to SymPy: Naive Pythoner

2014-10-28 Thread Jason Moore
This is the correct link to the introduction page: https://github.com/sympy/sympy/wiki/introduction-to-contributing Jason moorepants.info +01 530-601-9791 On Mon, Oct 27, 2014 at 12:12 PM, Sushant Hiray wrote: > You can also find some easy to fix issues here >