[sympy] can't load stats module into live shell

2015-02-09 Thread Juergen Aschenbrenner
Hi all, it looks like that that stats package is not functional in the live shell, why this? Cheers -- 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

Re: [sympy] Equivalence test

2015-02-09 Thread Tim Lahey
Having seen expressions that are hard to simplify into the same form, I'd say that it has a place in SymPy (there's even a utilities directory). That said, I'd probably suggest a name like nequiv similar to nsolve. Cheers, Tim. On 2015-02-09, at 11:09 AM, Peter Chervenski spoo...@abv.bg

Re: [sympy] can't load stats module into live shell

2015-02-09 Thread Sudhanshu Mishra
Hi Juergen, By live shell do you mean sympy live or any python shell? On Mon, Feb 9, 2015 at 4:51 PM, Juergen Aschenbrenner juergen.aschenbren...@gmail.com wrote: Hi all, it looks like that that stats package is not functional in the live shell, why this? Cheers -- You received this

Re: [sympy] Introduction

2015-02-09 Thread Sudhanshu Mishra
Hello Aditya, ​​ I have already setup the environment as given on the github wiki page and just wanted to take this opportunity to introduce myself. ​That's great! You should start working on issues to get yourself acquainted with the codebase.

[sympy] Introduction

2015-02-09 Thread Aditya Gupta
Hi, I am a Computer Science undergrad pursuing my degree at BITS Pilani University, Goa Campus, India. I am proficient in python and have an interest in mathematics. I would like to contribute to the sympy project. I have already setup the environment as given on the github wiki page and just

[sympy] Equivalence test

2015-02-09 Thread Peter Chervenski
I made this function to test for the equivalence of two expressions. It doesn't really prove anything, but if the tests are many, the probability of it being wrong becomes negligible. Do such utility functions have a place in SymPy? def equiv(a, b, ntests=15): Test if expression a is

Re: [sympy] Equivalence test

2015-02-09 Thread Chris Smith
At that point in the routine we know the expression is constant so either it is zero or it is some other constant. So a set or random values for symbols is computed and if it is *not* zero we have an answer, otherwise we have to work harder to try *prove* that it's zero. See also the

Re: [sympy] Equivalence test

2015-02-09 Thread Ondřej Čertík
Hi Peter, On Mon, Feb 9, 2015 at 9:09 AM, Peter Chervenski spoo...@abv.bg wrote: I made this function to test for the equivalence of two expressions. It doesn't really prove anything, but if the tests are many, the probability of it being wrong becomes negligible. Do such utility functions

Re: [sympy] Equivalence test

2015-02-09 Thread Ondřej Čertík
On Mon, Feb 9, 2015 at 12:40 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi Peter, On Mon, Feb 9, 2015 at 9:09 AM, Peter Chervenski spoo...@abv.bg wrote: I made this function to test for the equivalence of two expressions. It doesn't really prove anything, but if the tests are many, the

Re: [sympy] can't load stats module into live shell

2015-02-09 Thread Sudhanshu Mishra
​ i was referring to live.scipy.org ​I think live.scipy.org doesn't exist. Probably you are referring to http://live.sympy.org ​import script.stats as st​ If you want to import stats module, you should import it like this: import sympy.stats as st I hope it helps. ​ On Tue, Feb 10, 2015

Re: [sympy] Equivalence test

2015-02-09 Thread Aaron Meurer
Doesn't expr.equals also do something similar to this? Aaron Meurer On Mon, Feb 9, 2015 at 1:42 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Mon, Feb 9, 2015 at 12:40 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi Peter, On Mon, Feb 9, 2015 at 9:09 AM, Peter Chervenski

[sympy] Integration - Risch Algorithm

2015-02-09 Thread Luv Agarwal
Hello, can someone please tell me how should I go on understanding the current Risch Algorithm implementation. The docs doesn't explain the algorithmic details and also in the free version of Manuel Bronstein

Re: [sympy] Integration - Risch Algorithm

2015-02-09 Thread Aaron Meurer
Take a look at https://groups.google.com/d/msg/sympy/bYHtVOmKEFs/UZoyDX81eP4J. Nothing has changed since that thread was written (I should really write this up on the ideas page). Aaron Meurer On Mon, Feb 9, 2015 at 4:22 PM, Luv Agarwal agarwal.i...@gmail.com wrote: Hello, can someone please

Re: [sympy] can't load stats module into live shell

2015-02-09 Thread Juergen Aschenbrenner
Hi, i was referring to live.scipy.org Executing import script.stats as st Would result in an unknown module error Any ideas? Thanks in advance -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving

Re: [sympy] Equivalence test

2015-02-09 Thread Aaron Meurer
I'm unclear what this line is doing https://github.com/sympy/sympy/blob/e015652bf34987128bca3176d1c939fbd0d486cf/sympy/core/expr.py#L613. It looks like it evaluates it, at least in some cases. Probably Chris Smith could give a more definite answer. Aaron Meurer On Mon, Feb 9, 2015 at 5:20 PM,

Re: [sympy] Equivalence test

2015-02-09 Thread Ondřej Čertík
On Mon, Feb 9, 2015 at 3:37 PM, Aaron Meurer asmeu...@gmail.com wrote: Doesn't expr.equals also do something similar to this? No, that uses symbolics (thus it is not able to check complex expressions or it will be slow). Btw, you already asked this exact question here:

Re: [sympy] Equivalence test

2015-02-09 Thread Aaron Meurer
On Mon, Feb 9, 2015 at 5:11 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Mon, Feb 9, 2015 at 3:37 PM, Aaron Meurer asmeu...@gmail.com wrote: Doesn't expr.equals also do something similar to this? No, that uses symbolics (thus it is not able to check complex expressions or it will be

[sympy] GSoC Organization Application

2015-02-09 Thread Aaron Meurer
The GSoC organization application period has started. The application deadline is February 20. Action items: - If you are a prospective student, you don't need to do anything yet. Just continue to interact with the community here, on GitHub, and on Gitter. - If you are willing to mentor, please

Re: [sympy] Equivalence test

2015-02-09 Thread Ondřej Čertík
On Mon, Feb 9, 2015 at 4:15 PM, Aaron Meurer asmeu...@gmail.com wrote: On Mon, Feb 9, 2015 at 5:11 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Mon, Feb 9, 2015 at 3:37 PM, Aaron Meurer asmeu...@gmail.com wrote: Doesn't expr.equals also do something similar to this? No, that uses