Re: Issue 1116 in sympy: integrate outputs wrong result when the function is singular

2012-03-26 Thread sympy
Comment #28 on issue 1116 by agmp...@gmail.com: integrate outputs wrong result when the function is singular http://code.google.com/p/sympy/issues/detail?id=1116 Well i did not get why this is a big deal , [0] is not in the domain of the function so when integrate(1/(x**2), (x, -1, 1)) wh

Re: Issue 2865 in sympy: str(Matrix(...)) should give "Matrix(...)"

2012-03-26 Thread sympy
Comment #9 on issue 2865 by pr...@goodok.ru: str(Matrix(...)) should give "Matrix(...)" http://code.google.com/p/sympy/issues/detail?id=2865 The copy of Chris's answer: On Mon, Mar 26, 2012 at 12:11 PM, wrote: > Still, I do not understand why we must aplly this to str printer. > > sympy.

Re: Issue 1116 in sympy: integrate outputs wrong result when the function is singular

2012-03-26 Thread sympy
Comment #29 on issue 1116 by smi...@gmail.com: integrate outputs wrong result when the function is singular http://code.google.com/p/sympy/issues/detail?id=1116 Partly what makes it any sort of deal is that we don't have a predifined function to establish the domain of a function. This coul

Re: Issue 2865 in sympy: str(Matrix(...)) should give "Matrix(...)"

2012-03-26 Thread sympy
Comment #10 on issue 2865 by pr...@goodok.ru: str(Matrix(...)) should give "Matrix(...)" http://code.google.com/p/sympy/issues/detail?id=2865 Well, I suspected that it can be related with "sympify" function. But let's determine the targets of "sympify" and how it is related with "str" and

Re: Issue 2193 in sympy: Matrix.eigenvects() return empty vectors in some cases

2012-03-26 Thread sympy
Comment #11 on issue 2193 by smi...@gmail.com: Matrix.eigenvects() return empty vectors in some cases http://code.google.com/p/sympy/issues/detail?id=2193 see https://github.com/sympy/sympy/pull/1173 for some possible improvements. -- You received this message because you are subscribed to t

Re: Issue 3183 in sympy: MatMul latex printer not printing integer factors

2012-03-26 Thread sympy
Updates: Status: Fixed Comment #3 on issue 3183 by smi...@gmail.com: MatMul latex printer not printing integer factors http://code.google.com/p/sympy/issues/detail?id=3183 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

Issue 3194 in sympy: Implement "show steps" for solvers

2012-03-26 Thread sympy
Status: New Owner: Labels: Type-Enhancement Priority-Medium Solvers New issue 3194 by pr...@goodok.ru: Implement "show steps" for solvers http://code.google.com/p/sympy/issues/detail?id=3194 Wolframalpha have a nice function which can show the steps of solving equation: solve(x^2 + (-

Issue 3195 in sympy: Simplification of the sets, trying picewise.

2012-03-26 Thread sympy
Status: Accepted Owner: Labels: Type-Enhancement Priority-Medium Simplify Sets Solvers New issue 3195 by pr...@goodok.ru: Simplification of the sets, trying picewise. http://code.google.com/p/sympy/issues/detail?id=3195 Consider the equation with a real parameter: r = Symbol('r', real=

Re: Issue 2275 in sympy: is_upper and is_lower should imply that the matrix is square

2012-03-26 Thread sympy
Comment #5 on issue 2275 by rhythm.g...@gmail.com: is_upper and is_lower should imply that the matrix is square http://code.google.com/p/sympy/issues/detail?id=2275 This has been fixed. This issue needs to be closed. -- You received this message because you are subscribed to the Google Group

Re: Issue 2275 in sympy: is_upper and is_lower should imply that the matrix is square

2012-03-26 Thread sympy
Updates: Labels: Documentation Comment #6 on issue 2275 by pr...@goodok.ru: is_upper and is_lower should imply that the matrix is square http://code.google.com/p/sympy/issues/detail?id=2275 Frankly speaking, the documentation still does not emphasize about the difference between "pu

Re: Issue 2818 in sympy: factor() returns nan

2012-03-26 Thread sympy
Updates: Labels: smichr NeedsReview Comment #8 on issue 2818 by smi...@gmail.com: factor() returns nan http://code.google.com/p/sympy/issues/detail?id=2818 The problem is that _gcd_terms didn't watch out for terms that are zero. https://github.com/sympy/sympy/pull/1175 (I included the

Re: Issue 2818 in sympy: factor() returns nan

2012-03-26 Thread sympy
Comment #9 on issue 2818 by smi...@gmail.com: factor() returns nan http://code.google.com/p/sympy/issues/detail?id=2818 OK, finally it yields the non-NaN: p = S(tug(code)) ans=factor(p) ans.count_ops() 1190 -- You received this message because you are subscribed to the Google Groups "sympy

Re: Issue 3193 in sympy: Matrix(n, 0) and Matrix(0, n) should not look for data

2012-03-26 Thread sympy
Updates: Status: WontFix Comment #1 on issue 3193 by smi...@gmail.com: Matrix(n, 0) and Matrix(0, n) should not look for data http://code.google.com/p/sympy/issues/detail?id=3193 Cherry's gone. I agree with mrocklin that this should not be allowed and that explicit is better than co

Re: Issue 3189 in sympy: Calculate eigenvectors numerically if it impossible calculate symbolical

2012-03-26 Thread sympy
Updates: Summary: Calculate eigenvectors numerically if it impossible calculate symbolical Comment #13 on issue 3189 by smi...@gmail.com: Calculate eigenvectors numerically if it impossible calculate symbolical http://code.google.com/p/sympy/issues/detail?id=3189 (No comment was entered f

Re: Issue 3182 in sympy: Option to isympy to automatically use Rational for int/int

2012-03-26 Thread sympy
Comment #1 on issue 3182 by smi...@gmail.com: Option to isympy to automatically use Rational for int/int http://code.google.com/p/sympy/issues/detail?id=3182 or just S(int_literal)/int_literal? -- You received this message because you are subscribed to the Google Groups "sympy-issues" group

Re: Issue 3185 in sympy: I**(I+3) showing as complex number

2012-03-26 Thread sympy
Updates: Status: Invalid Comment #2 on issue 3185 by smi...@gmail.com: I**(I+3) showing as complex number http://code.google.com/p/sympy/issues/detail?id=3185 Perhaps the issue is the small real part that is an artifact of the evalf process. For this you can use the chop keyword:

Re: Issue 3194 in sympy: Implement "show steps" for solvers

2012-03-26 Thread sympy
Comment #1 on issue 3194 by smi...@gmail.com: Implement "show steps" for solvers http://code.google.com/p/sympy/issues/detail?id=3194 lines could be decorated with SYMPY_STEPS like they are with SYMPY_DEBUG. -- You received this message because you are subscribed to the Google Groups "sympy

Re: Issue 3185 in sympy: I**(I+3) showing as complex number

2012-03-26 Thread sympy
Updates: Status: Started Labels: NeedsReview smichr Comment #3 on issue 3185 by smi...@gmail.com: I**(I+3) showing as complex number http://code.google.com/p/sympy/issues/detail?id=3185 After applying https://github.com/sympy/sympy/pull/1176 you can also use round: >>>

Re: Issue 3185 in sympy: I**(I+3) showing as complex number

2012-03-26 Thread sympy
Comment #4 on issue 3185 by smi...@gmail.com: I**(I+3) showing as complex number http://code.google.com/p/sympy/issues/detail?id=3185 Sorry for the bogus "minus" but without it, google that it was a +1 comment. -- You received this message because you are subscribed to the Google Groups "sy

Re: Issue 3194 in sympy: Implement "show steps" for solvers

2012-03-26 Thread sympy
Updates: Status: Valid Comment #2 on issue 3194 by asmeu...@gmail.com: Implement "show steps" for solvers http://code.google.com/p/sympy/issues/detail?id=3194 This is related to the expression manipulation GSoC idea (I don't think we have an issue for it). -- You received this mes

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #11 on issue 3184 by asmeu...@gmail.com: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 0**0 was discussed extensively in some other issue. Defining this as 1 is very common, and is needed, for example, for the binomial equation to make sense. 1**oo an

Re: Issue 3186 in sympy: pprint evaluates unevaluaed denominator

2012-03-26 Thread sympy
Updates: Labels: NeedsReview smichr Comment #1 on issue 3186 by smi...@gmail.com: pprint evaluates unevaluaed denominator http://code.google.com/p/sympy/issues/detail?id=3186 https://github.com/sympy/sympy/pull/1177 -- You received this message because you are subscribed to the Googl

Re: Issue 3195 in sympy: Simplification of the sets, trying piecewise.

2012-03-26 Thread sympy
Updates: Summary: Simplification of the sets, trying piecewise. Comment #1 on issue 3195 by smi...@gmail.com: Simplification of the sets, trying piecewise. http://code.google.com/p/sympy/issues/detail?id=3195 (No comment was entered for this change.) -- You received this message beca

Issue 3196 in sympy: Matrix class is lost in repr

2012-03-26 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium New issue 3196 by smi...@gmail.com: Matrix class is lost in repr http://code.google.com/p/sympy/issues/detail?id=3196 >>> str(ImmutableMatrix([[]])) '[]' This may be soon fixed to at least print Matrix(1, 0, []) but it sho

Re: Issue 2955 in sympy: Function to compute the domain of a function

2012-03-26 Thread sympy
Comment #3 on issue 2955 by smi...@gmail.com: Function to compute the domain of a function http://code.google.com/p/sympy/issues/detail?id=2955 FWIW, there is the denoms function in solvers that can help with this (I wrote this earlier today but can't seem to locate it now): >>> eq=(1

Re: Issue 3172 in sympy: KroneckerDelta contains secondquant-specific stuff

2012-03-26 Thread sympy
Comment #1 on issue 3172 by elliso...@gmail.com: KroneckerDelta contains secondquant-specific stuff http://code.google.com/p/sympy/issues/detail?id=3172 The KroneckerDelta in sympy.functions should definitely not have any logic from secondquant. That stuff in secondquant needs to be refact

Re: Issue 3172 in sympy: KroneckerDelta contains secondquant-specific stuff

2012-03-26 Thread sympy
Comment #2 on issue 3172 by ronan.l...@gmail.com: KroneckerDelta contains secondquant-specific stuff http://code.google.com/p/sympy/issues/detail?id=3172 Note that I have a commit (https://github.com/rlamy/sympy/commit/3dd0f38c685f2837cb336878e14991af8346965a) that splits the tests betwee

Re: Issue 3129 in sympy: Drastic change to sympy.stats: Adding concept of Probability Distributions on surface level

2012-03-26 Thread sympy
Comment #22 on issue 3129 by nathan.f...@gmail.com: Drastic change to sympy.stats: Adding concept of Probability Distributions on surface level http://code.google.com/p/sympy/issues/detail?id=3129 Issue: the definition of Binomial is: def Binomial(n, p, succ=1, fail=0, symbol=None): For var

Re: Issue 3194 in sympy: Implement "show steps" for solvers

2012-03-26 Thread sympy
Comment #3 on issue 3194 by pr...@goodok.ru: Implement "show steps" for solvers http://code.google.com/p/sympy/issues/detail?id=3194 I missed that this task is included to "Step-by-step Expression Manipulation" GSoC idea. I thought (by the title) that this idea is about how to control of th

Re: Issue 93 in sympy: Square root denesting

2012-03-26 Thread sympy
Comment #33 on issue 93 by smi...@gmail.com: Square root denesting http://code.google.com/p/sympy/issues/detail?id=93 Should this still remain open for the addition in comment 30? -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this

Re: Issue 3168 in sympy: bug in sqrtdenest

2012-03-26 Thread sympy
Updates: Status: Fixed Comment #2 on issue 3168 by smi...@gmail.com: bug in sqrtdenest http://code.google.com/p/sympy/issues/detail?id=3168 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To po

Re: Issue 3186 in sympy: pprint evaluates unevaluaed denominator

2012-03-26 Thread sympy
Updates: Labels: -NeedsReview -smichr Comment #2 on issue 3186 by smi...@gmail.com: pprint evaluates unevaluaed denominator http://code.google.com/p/sympy/issues/detail?id=3186 A better change is being worked on by @ashfall. -- You received this message because you are subscribed to

Re: Issue 3129 in sympy: Drastic change to sympy.stats: Adding concept of Probability Distributions on surface level

2012-03-26 Thread sympy
Comment #23 on issue 3129 by mrock...@gmail.com: Drastic change to sympy.stats: Adding concept of Probability Distributions on surface level http://code.google.com/p/sympy/issues/detail?id=3129 I agree that the first seems best - Move the symbol keyword up to the front, so it's def Binomial(s

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #12 on issue 3184 by pr...@goodok.ru: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 I am completely agreed that 0**0 is very useful for combinatorics aims. btw, it is used while series implementation https://oeis.org/A081294 (FORMULA section) I don't know

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #13 on issue 3184 by asmeu...@gmail.com: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 We might want to look into the ask imaginary handler to see why it was giving the wrong result from the OP, btw. It likely indicates faulty logic. -- You received t

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #14 on issue 3184 by pr...@goodok.ru: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 Btw, regarding label "Indeterminate", I meant that it would be better to have this label in the issue tracker. This issue is not directly related with assumption system

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #15 on issue 3184 by pr...@goodok.ru: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 It could be good, if we can ask about imaginary, but I don't understand what is this (there is why the issue about docstring has been added recently). I thought that "i

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #16 on issue 3184 by asmeu...@gmail.com: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 I suppose it's addressed by https://github.com/sympy/sympy/pull/1156. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group

Re: Issue 3184 in sympy: 0**I giving wrong answer

2012-03-26 Thread sympy
Comment #17 on issue 3184 by asmeu...@gmail.com: 0**I giving wrong answer http://code.google.com/p/sympy/issues/detail?id=3184 "OP" means "original post". It refers to comment 0. Imaginary means real part zero, yes. It might also imply imaginary part non-zero; I'm not sure. I added the as