Re: [sympy] Assumptions system

2020-01-17 Thread Aaron Meurer
There is still limited support for this, but you can use refine(expr, Q.positive(x - 2)). Actually, if all you want to do is simplify all roots in an expression you can use powdenest() and powsimp() with the force=True flag. Aaron Meurer On Fri, Jan 17, 2020 at 12:26 PM Paul Royik wrote: > > I

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
working now above things, but at this link https://github.com/sympy/sympy-live this command " ../google_appengine/dev_appserver.py" giving error -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails

[sympy] Assumptions system

2020-01-17 Thread Paul Royik
I know that variables can be made positive or negative. But how do I make assumption that x>2? If I have and expression like (x-2)^(1/3)+(x-5)^(1/3) (actually arbitrary expressions), how to make assumptions that all expressions under roots are positive, i.e. x-2>0, x-5>0? -- You received

[sympy] Intruduction, debugging codegen generated code

2020-01-17 Thread Christian Friedl
Hello everyone! Introduction === Here is a short introduction as suggested by https://github.com/sympy/sympy/wiki/Introduction-to-contributing - level of familiarity with python Somewhat, mostly for small personal projects. - mathematical education level Msc. - particular expertise Physics.

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
https://github.com/sympy/sympy-live/blob/master/README.rst from this i have followed every step,but im not able to see the gui of sympy live shell in my local server,i think its because of this command "$ git submodule update"-->its not working,its showing some error. git submodule update

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread Aaron Meurer
I think you will need to add your ssh key to GitHub. We should be using the https URL here https://github.com/sympy/sympy-live/blob/master/.gitmodules. Aaron Meurer On Fri, Jan 17, 2020 at 6:41 AM James . wrote: > > https://github.com/sympy/sympy-live/blob/master/README.rst > from this i have

Re: [sympy] Intruduction, debugging codegen generated code

2020-01-17 Thread Aaron Meurer
I haven't thought of this before. I think one could add support for it. It would require adding some bookkeeping to the code printers. Another idea would be to wrap expressions with some function that codegens into no-op backreferences. Finally, we could codegen comments giving the str() form of

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
just now added ssh key,still same error coming.. On Fri, Jan 17, 2020 at 10:38 PM Aaron Meurer wrote: > I think you will need to add your ssh key to GitHub. We should be > using the https URL here > https://github.com/sympy/sympy-live/blob/master/.gitmodules. > > Aaron Meurer > > On Fri, Jan

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
where is this " dev_appserver.py " i cant find it anywhere On Fri, Jan 17, 2020 at 11:08 PM James . wrote: > just now added ssh key,still same error coming.. > > > On Fri, Jan 17, 2020 at 10:38 PM Aaron Meurer wrote: > >> I think you will need to add your ssh key to GitHub. We should be >>