Re: Issue 835 in sympy: limit((5**x+3**x)**(1/x), x, oo) TODO

2011-01-22 Thread sympy
Comment #11 on issue 835 by smi...@gmail.com: limit((5**x+3**x)**(1/x), x, oo) TODO http://code.google.com/p/sympy/issues/detail?id=835 With the commit of issue 2161 [ https://github.com/sympy/sympy/pull/94 ] this gives h[1] >>> e = log(1/x + (1/x)**(log(5)/log(3))) h[1] >>> e.nse

Re: Issue 2161 in sympy: powsimp should look for base, 1/base pairs

2011-01-22 Thread sympy
Updates: Labels: smichr NeedsReview Comment #1 on issue 2161 by smi...@gmail.com: powsimp should look for base, 1/base pairs http://code.google.com/p/sympy/issues/detail?id=2161 see [ https://github.com/sympy/sympy/pull/94 ] -- You received this message because you are subscribed to

Issue 2161 in sympy: powsimp should look for base, 1/base pairs

2011-01-22 Thread sympy
Status: Accepted Owner: smi...@gmail.com Labels: Type-Defect Priority-Medium New issue 2161 by smi...@gmail.com: powsimp should look for base, 1/base pairs http://code.google.com/p/sympy/issues/detail?id=2161 powsimp((1/x)**log(3)/x) should come back as (1/x)**(1+log(3)) when base and inver

Re: Issue 2104 in sympy: canonical ordering of terms

2011-01-22 Thread sympy
Comment #11 on issue 2104 by matt...@gmail.com: canonical ordering of terms http://code.google.com/p/sympy/issues/detail?id=2104 I fixed this in a35aed24bd016b3fd0e4d51113373f6f33530542, so workarounds won't be necessary anymore, e.g.: In [1]: latex(x**2 + 1, order='lex') Out[1]: x^{2} + 1

Re: Issue 2104 in sympy: canonical ordering of terms

2011-01-22 Thread sympy
Comment #10 on issue 2104 by asmeurer: canonical ordering of terms http://code.google.com/p/sympy/issues/detail?id=2104 That should be a workaround for single variable polynomials, but this still needs to be fixed, because there is more to the various orderings than just reversing the order

Re: Issue 2104 in sympy: canonical ordering of terms

2011-01-22 Thread sympy
Comment #9 on issue 2104 by justin.y...@gmail.com: canonical ordering of terms http://code.google.com/p/sympy/issues/detail?id=2104 My mistake. I had defined a shortcut function to automatically set the 'descending' flag. What I meant was the following: Python 2.7.0 console for SymP

Issue 2160 in sympy: List of dependencies

2011-01-22 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Medium Documentation Milestone-Release0.7.0 New issue 2160 by asmeurer: List of dependencies http://code.google.com/p/sympy/issues/detail?id=2160 We should include in the README, and probably in the docs somewhere too, a list of all

Re: Issue 2104 in sympy: canonical ordering of terms

2011-01-22 Thread sympy
Updates: Cc: mattpap Comment #8 on issue 2104 by asmeurer: canonical ordering of terms http://code.google.com/p/sympy/issues/detail?id=2104 Actually, the latex printer is not fixed for this, even in Mateusz's polys12 (issue 2133), which will also be part of the next release btw. Aaro

Re: Issue 2006 in sympy: functor objects

2011-01-22 Thread sympy
Comment #2 on issue 2006 by asmeurer: functor objects http://code.google.com/p/sympy/issues/detail?id=2006 I would expect this to also replace sin(2*x)**2 + cos(3*x)**2. No, because that doesn't equal (sin**2 + cos**2)(x) for any x, exactly or inexactly (and of course we only consider exact

Re: Issue 1735 in sympy: Rename .func attribute (.args too?)

2011-01-22 Thread sympy
Comment #24 on issue 1735 by smi...@gmail.com: Rename .func attribute (.args too?) http://code.google.com/p/sympy/issues/detail?id=1735 It's generic in the sense that a func has args (and there is function for Integrals to get the function contained in the "func"). But what about cls?, ob

Re: Issue 1735 in sympy: Rename .func attribute (.args too?)

2011-01-22 Thread sympy
Comment #23 on issue 1735 by ronan.l...@gmail.com: Rename .func attribute (.args too?) http://code.google.com/p/sympy/issues/detail?id=1735 'func' isn't generic enough. It doesn't work well for objects like Tuple, Add or Integral which don't map to mathematical functions. It's even mislea

Re: Issue 2104 in sympy: canonical ordering of terms

2011-01-22 Thread sympy
Comment #7 on issue 2104 by justin.y...@gmail.com: canonical ordering of terms http://code.google.com/p/sympy/issues/detail?id=2104 Okay, that's good to know. But I found a workaround for what I need: the LatexPrinter class has a "descending" flag that can be set, and I only need to reve

Re: Issue 2006 in sympy: functor objects

2011-01-22 Thread sympy
Comment #1 on issue 2006 by Vinzent.Steinberg: functor objects http://code.google.com/p/sympy/issues/detail?id=2006 I like this idea, but I'm not sure about the proposed behavior. expr.subs(sin**2 + cos**2, 1) I would expect this to also replace sin(2*x)**2 + cos(3*x)**2. (f + id(1))(x, y)

Re: Issue 1735 in sympy: Rename .func attribute (.args too?)

2011-01-22 Thread sympy
Comment #22 on issue 1735 by Vinzent.Steinberg: Rename .func attribute (.args too?) http://code.google.com/p/sympy/issues/detail?id=1735 I think it is .func now (I think it is a good choice, because it is consistent with functions in a mathematical sense). Is there anything else left to f

Re: Issue 835 in sympy: limit((5**x+3**x)**(1/x), x, oo) TODO

2011-01-22 Thread sympy
Comment #10 on issue 835 by smi...@gmail.com: limit((5**x+3**x)**(1/x), x, oo) TODO http://code.google.com/p/sympy/issues/detail?id=835 The problem stems from this, I believe: h[2] >>> limit((1/x)/(1/x)**log(3),x,0) # should be 0 oo h[2] >>> limit((1/x)/(1/x)**Rational(3,2),x,0)