Re: Issue 3896 in sympy: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively

2013-06-15 Thread sympy
Comment #2 on issue 3896 by asmeu...@gmail.com: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively http://code.google.com/p/sympy/issues/detail?id=3896 I should be clear. trigsimp *in master* implements the Fu algorithm. This is new since the last release. -- Y

Re: Issue 3896 in sympy: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively

2013-06-15 Thread sympy
Updates: Status: Valid Labels: -Priority-Low Priority-Medium Simplify Comment #1 on issue 3896 by asmeu...@gmail.com: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively http://code.google.com/p/sympy/issues/detail?id=3896 The k = 2 case works in mas

Issue 3896 in sympy: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively

2013-06-15 Thread sympy
Status: New Owner: Labels: Type-Enhancement Priority-Low New issue 3896 by jmsa...@gmail.com: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively http://code.google.com/p/sympy/issues/detail?id=3896 These are simple trig identities: theta=symbols('theta') k=1

Issue 3895 in sympy: mathml cannot be doctested

2013-06-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Printing Testing New issue 3895 by asmeu...@gmail.com: mathml cannot be doctested http://code.google.com/p/sympy/issues/detail?id=3895 mathml cannot be doctested, because the output is different in Python 2 and Python 3. In Python 2

Issue 3894 in sympy: diag does not work with int

2013-06-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Matrices EasyToFix New issue 3894 by asmeu...@gmail.com: diag does not work with int http://code.google.com/p/sympy/issues/detail?id=3894 In [131]: diag(Matrix([[5, 1], [5, 0]]) -2, 3) -

Issue 3893 in sympy: MutableMatrix should be more consistant about in place operations

2013-06-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Matrices New issue 3893 by asmeu...@gmail.com: MutableMatrix should be more consistant about in place operations http://code.google.com/p/sympy/issues/detail?id=3893 Some operations on MutableMatrix act in place, and some don't, an

Re: Issue 3887 in sympy: sympy 0.7.2 hangs when trying to solve a simple algebraic equation

2013-06-15 Thread sympy
Comment #6 on issue 3887 by asmeu...@gmail.com: sympy 0.7.2 hangs when trying to solve a simple algebraic equation http://code.google.com/p/sympy/issues/detail?id=3887 Actually, with the new sparse representation in the polys, there is hope that this will work. -- You received this messag

Re: Issue 3889 in sympy: expand_log(exp(x), force=True) should give x

2013-06-15 Thread sympy
Comment #4 on issue 3889 by asmeu...@gmail.com: expand_log(exp(x), force=True) should give x http://code.google.com/p/sympy/issues/detail?id=3889 Ah :) The other way is to just fix issue 1799 and this will just start working. -- You received this message because this project is configured t

Re: Issue 3722 in sympy: solve can try split equation into real and imaginary parts

2013-06-15 Thread sympy
Comment #7 on issue 3722 by asmeu...@gmail.com: solve can try split equation into real and imaginary parts http://code.google.com/p/sympy/issues/detail?id=3722 If so, replace all instances of that symbol with re(sym) + im(sym)*I Is solve() not smart enough to do this on its own if re(sym)

Re: Issue 3892 in sympy: powdenest won't denest a product base (even with force=True)

2013-06-15 Thread sympy
Comment #2 on issue 3892 by asmeu...@gmail.com: powdenest won't denest a product base (even with force=True) http://code.google.com/p/sympy/issues/detail?id=3892 You are probably right that I should use it (though as per issue 3883, I should actually have to use *both*). The reason I thou

Re: Issue 3892 in sympy: powdenest won't denest a product base (even with force=True)

2013-06-15 Thread sympy
Comment #1 on issue 3892 by smi...@gmail.com: powdenest won't denest a product base (even with force=True) http://code.google.com/p/sympy/issues/detail?id=3892 Why are you using powdenest rather than expand_power_base? expand_power_base(_) a**c*a**(b*c) -- You received this message becau

Re: Issue 3722 in sympy: solve can try split equation into real and imaginary parts

2013-06-15 Thread sympy
Comment #6 on issue 3722 by smi...@gmail.com: solve can try split equation into real and imaginary parts http://code.google.com/p/sympy/issues/detail?id=3722 The remaining problems can be solved with a little extra work from the user, adding an auxiliary equation: solve([re(x) - 1, im(x)

Re: Issue 3882 in sympy: divisors() is not type-consistent

2013-06-15 Thread sympy
Updates: Labels: EasyToFix Comment #5 on issue 3882 by smi...@gmail.com: divisors() is not type-consistent http://code.google.com/p/sympy/issues/detail?id=3882 (No comment was entered for this change.) -- You received this message because this project is configured to send all issu

Re: Issue 3889 in sympy: expand_log(exp(x), force=True) should give x

2013-06-15 Thread sympy
Updates: Labels: EasyToFix Comment #3 on issue 3889 by smi...@gmail.com: expand_log(exp(x), force=True) should give x http://code.google.com/p/sympy/issues/detail?id=3889 It's me that sent the patch...someone else can take this as an EasyToFix. diff --git a/sympy/functions/elementary

Re: Issue 3887 in sympy: sympy 0.7.2 hangs when trying to solve a simple algebraic equation

2013-06-15 Thread sympy
Comment #5 on issue 3887 by smi...@gmail.com: sympy 0.7.2 hangs when trying to solve a simple algebraic equation http://code.google.com/p/sympy/issues/detail?id=3887 after Floats are replaced with Rationals, a failure occurs when trying to convert the expression to a Poly: e -exp(542403