Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Updates: Cc: Vinzent.Steinberg Comment #17 on issue 2039 by smichr: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 I believe it's ready to look at again. -- You received this message because you are subscribed to the Google Groups sympy-issues group. To

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #18 on issue 2039 by asmeurer: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 Here's a simple example. The smallest non-abelian (non-commutative) group is S3, the group of permutations on 3 elements. You can see from the multiplication table at

Re: Issue 2014 in sympy: sympy.solvers.solvers.solve should also allow frozenset to hold equations

2010-08-29 Thread sympy
Comment #4 on issue 2014 by torstenm...@googlemail.com: sympy.solvers.solvers.solve should also allow frozenset to hold equations http://code.google.com/p/sympy/issues/detail?id=2014 Sorry for the delay. Attached is the diff file replacing most of the remaining isinstance(x,(list, tuple))

Issue 2042 in sympy: Frac() object for rational function arithmetics

2010-08-29 Thread sympy
Status: Accepted Owner: asmeurer CC: mattpap Labels: Type-Enhancement Priority-Medium Polynomial New issue 2042 by asmeurer: Frac() object for rational function arithmetics http://code.google.com/p/sympy/issues/detail?id=2042 I've been thinking about this for a while now, so I figured I would

Re: Issue 2014 in sympy: sympy.solvers.solvers.solve should also allow frozenset to hold equations

2010-08-29 Thread sympy
Updates: Labels: NeedsReview Comment #5 on issue 2014 by asmeurer: sympy.solvers.solvers.solve should also allow frozenset to hold equations http://code.google.com/p/sympy/issues/detail?id=2014 You can fix the test_whitespace failure using the strip_whitespace utility in the bin

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #19 on issue 2039 by smichr: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 (I looked at the page but don't see where f denotes a square root...do you get that from the Cayley Table page where f**2 = d so f = sqrt(d)?) Regarding the power rules, you

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #20 on issue 2039 by asmeurer: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 Yes, you are right (I didn't notice d there). That is a multiplication table, so a*b = b, b*a = f, a**2 = e, b**2 = e, etc (I might have it backwards, but it doesn't matter).

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #21 on issue 2039 by smichr: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 Sigh...I even made a crib sheet for myself listing power and log rules. But I made the mistake. I hoped to be encouraged that I got it right in powdenest, but alas, no: from

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #22 on issue 2039 by asmeurer: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 Yes, powdenest() will be useless (to me at least) unless it can ignore assumptions and reduce things like sqrt(x**2). Making it like logcombine() with the assume_pos_real hint

Re: Issue 2014 in sympy: sympy.solvers.solvers.solve should also allow frozenset to hold equations

2010-08-29 Thread sympy
Updates: Labels: -NeedsReview NeedsBetterPatch Comment #6 on issue 2014 by asmeurer: sympy.solvers.solvers.solve should also allow frozenset to hold equations http://code.google.com/p/sympy/issues/detail?id=2014 You should add tests. There at least needs to be a test for frozenset

Re: Issue 1694 in sympy: solve has many issues with fractions

2010-08-29 Thread sympy
Comment #140 on issue 1694 by sophie.duriez: solve has many issues with fractions http://code.google.com/p/sympy/issues/detail?id=1694 Thanks for your review Chris. (x**y)**a is not, in general, x**(y*a). Indeed. Thanks for catching it. This routine, however, inspired a fixed routine that

Re: Issue 1694 in sympy: solve has many issues with fractions

2010-08-29 Thread sympy
Comment #141 on issue 1694 by nicolas.pourcelot: solve has many issues with fractions http://code.google.com/p/sympy/issues/detail?id=1694 Thanks for your review Chris. (x**y)**a is not, in general, x**(y*a). Indeed. Thanks for catching it. This routine, however, inspired a fixed routine

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #23 on issue 2039 by smichr: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 There's no separate issue. I needed such a function for the Mul._eval_subs to standardize the input a little. I guess I could leave it out and leave *all* prep work to the

Re: Issue 2039 in sympy: Mul.eval_subs problems

2010-08-29 Thread sympy
Comment #24 on issue 2039 by smichr: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039 I'm not sure right now how powsimp and powdenest fit together...if you have ideas I'm listening. I'll be thinking about it. I made powdenest respect assumptions that are already