Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #44 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Regarding inheritance Min of Max, I agree with that. For LatticeOp I now can't say anything. Will it fit for Max(cos(x), sin(x), 0) Max(cos(x

Re: Issue 2248 in sympy: Operator == not symmetric for Real and others

2011-03-30 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview PassedReview Comment #3 on issue 2248 by ronan.l...@gmail.com: Operator == not symmetric for Real and others http://code.google.com/p/sympy/issues/detail?id=2248 This is in. -- You received this message because you are subscribed to

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #43 on issue 821 by ronan.l...@gmail.com: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 I haven't examined the code in detail but I have a few high-level remarks: * Max and Min shouldn't subclass Function any more. * They should

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #42 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 This `(v.is_real is not None) or (v is S.Infinity) or (v is S.NegativeInfinity)` raised Exception for `cos(x)`. There is why I just updated rais

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #41 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 But for the `zoo` current pull request does not deal: In [7]: Max(1, x, -oo, zoo) Out[7]: Max(1, zoo, x) In [8]: Min(1, x, -oo, zoo) Out[8]: Min

Issue 2253 in sympy: polys errors should all derive from PolynomialError

2011-03-30 Thread sympy
Status: Accepted Owner: asmeurer CC: matt...@gmail.com Labels: Type-Defect Priority-Medium Polynomial New issue 2253 by asmeurer: polys errors should all derive from PolynomialError http://code.google.com/p/sympy/issues/detail?id=2253 Right now, most of the errors in polyerrors.py derive from

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #40 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 I tested the current pull request: In [3]: Max(1, x, oo, oo) Out[3]: oo In [4]: Max(1, x, -oo, -oo) Out[4]: Max(1, x) -- You received this me

Issue 2252 in sympy: activate docstring examples for symarray()

2011-03-30 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium EasyToFix New issue 2252 by pr...@goodok.ru: activate docstring examples for symarray() http://code.google.com/p/sympy/issues/detail?id=2252 There are examples of symarray() function in docstring, which are not passing through `./

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #39 on issue 821 by asmeurer: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 I forgot about oo. Should it then be just "if (x.is_real is not None) or (x is S.Infinity) or (x is S.NegInfinity)"? We could combine this into an

Issue 2251 in sympy: quantum.spin.J?Ket ambiguous printing

2011-03-30 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2251 by krastano...@gmail.com: quantum.spin.J?Ket ambiguous printing http://code.google.com/p/sympy/issues/detail?id=2251 When using both JzKet and JxKet with the same j and m arguments the output for both is |j,m>. It's

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #38 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Sorry, I meant "such an assumption". -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To pos

Re: Issue 2249 in sympy: Solver for Integrable series of special Riccati equation.

2011-03-30 Thread sympy
Comment #3 on issue 2249 by yuri.kar...@gmail.com: Solver for Integrable series of special Riccati equation. http://code.google.com/p/sympy/issues/detail?id=2249 After the changes it will be possible to solve special Riccati euation a*y'+b*y**2+c*x**alpha=0 where a, b, c != 0 and there's tw

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #37 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Exactly. I was wondering whether exceptions are important enough to support such a comparison. oo for instance is not in the set of reals bu

Re: Issue 2249 in sympy: Solver for Integrable series of special Riccati equation.

2011-03-30 Thread sympy
Updates: Status: Accepted Mergedinto: Comment #2 on issue 2249 by asmeurer: Solver for Integrable series of special Riccati equation. http://code.google.com/p/sympy/issues/detail?id=2249 Apparently this is actually separate from issue 2250. -- You received this message becaus

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Updates: Labels: progagoodok.ru Comment #36 on issue 821 by asmeurer: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 For is_comparable, what would it be useful for? When is something comparable and not real? -- You received t

Re: Issue 2250 in sympy: Solver for special case of Riccati equation

2011-03-30 Thread sympy
Comment #1 on issue 2250 by asmeurer: Solver for special case of Riccati equation http://code.google.com/p/sympy/issues/detail?id=2250 Issue 2249 has been merged into this issue. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to th

Re: Issue 2249 in sympy: Solver for Integrable series of special Riccati equation.

2011-03-30 Thread sympy
Updates: Status: Duplicate Mergedinto: 2250 Comment #1 on issue 2249 by asmeurer: Solver for Integrable series of special Riccati equation. http://code.google.com/p/sympy/issues/detail?id=2249 (No comment was entered for this change.) -- You received this message because you

Re: Issue 2217 in sympy: Patches tutorial

2011-03-30 Thread sympy
Updates: Labels: Milestone-Release0.7.0 Comment #13 on issue 2217 by asmeurer: Patches tutorial http://code.google.com/p/sympy/issues/detail?id=2217 I mean we need to patch sympy itself removing the old patches tutorial from the docs, so that people don't use it anymore. Also, we nee

Re: Issue 564 in sympy: series expansion of acosh and acoth

2011-03-30 Thread sympy
Comment #17 on issue 564 by asmeurer: series expansion of acosh and acoth http://code.google.com/p/sympy/issues/detail?id=564 See issue 2096. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@goo

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #15 on issue 2247 by yuri.kar...@gmail.com: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 I don't want to have this conversation. I answered your question. Just try to understand the difference between sqrt(x**2-1) and sqrt(x-1)sqrt(x+1) -- You received this

Re: Issue 2011 in sympy: less self-confident simplify

2011-03-30 Thread sympy
Updates: Labels: -NeedsReview PassedReview Comment #20 on issue 2011 by Vinzent.Steinberg: less self-confident simplify http://code.google.com/p/sympy/issues/detail?id=2011 Looks fine to me now, all tests pass. -- You received this message because you are subscribed to the Google Groups

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #14 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 Second, I have read all comments, they are delivered to me trough the email, so there is no need to delete them. I observe that you freely manage with formulas. But this uncon

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #13 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 it is not right to fix a foliation if you are using symbolic computation Why not? -- You received this message because you are subscribed to the Google Groups "sympy-issues"

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #12 on issue 2247 by yuri.kar...@gmail.com: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 Dear, you should understand what Rieman surface is, and the possibility to cut it in several ways. Unfortunately I can't teach you. You should get a course of complex an

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #11 on issue 2247 by yuri.kar...@gmail.com: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 1. There's no difference in equations in comment 9 and 10 2. Read all the comments then write your thoughts, not vise versa. -- You received this message because you are su

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #35 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Thanks for information about merging, and it can be interesting not only for me, so I will add section about it in the developer guide wiki. -

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #34 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 I updated pull. Some tests added too. Firstly I wanted to encapsulate exception raising into the method `is_connected`, but for the task of ch

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #33 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Just in case you did not know about it: You can easily get my changes into your branch doing (assuming you checked out your branch): $ git p

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #32 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 I have seen your repository, Vinzent. Understand. I will try to implement the exception soon, as I understand right. -- You received this messag

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #31 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 in general case objects must be comparable with ones, and not with others. You are right, it should not be tied to the objects, but to the <-

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #30 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 And 'is_comparable'. I think that it is hard, and in general case objects must be comparable with ones, and not with others. -- You received

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #29 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Please note that for a complex input we have by default 'is_real == None'. So an exception could only be raised for 'is_real == False'. If in

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #10 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 I correct the last equation: `x/sqrt(x**2 - 1) = (+/-) a` -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this gr

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #9 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 But still, I warn to be careful the with even functions like acosh(x). If your code related with solving of equations then from: coth(acosh(x)) = a followed x/sqrt(1-x*

Issue 2250 in sympy: Solver for special case of Riccati equation

2011-03-30 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2250 by yuri.kar...@gmail.com: Solver for special case of Riccati equation http://code.google.com/p/sympy/issues/detail?id=2250 Solver for special case of Riccati equation will be aded. ay'+by**2+cy/x+d/x**2=0 where a, b,

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Updates: Labels: -Milestone-Release0.7.1 Milestone-Release0.7.0 Comment #28 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 (No comment was entered for this change.) -- You received this message

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #27 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 I made your code 2.4 compatible, please consider pulling: g...@github.com:vks/sympy.git 821_Max It was only about "f(*args, something=x)" vs.

Re: Issue 821 in sympy: multiple arguments for max and other improvements

2011-03-30 Thread sympy
Comment #26 on issue 821 by Vinzent.Steinberg: multiple arguments for max and other improvements http://code.google.com/p/sympy/issues/detail?id=821 Max(x, 1) will assume it is real IMHO it should rather assume it could be real. So a lazily evaluated Max() is the way to go in this case.

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #8 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 Thanks for books, I was inattentive and I mixed up coth with cosh. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to t

Issue 2249 in sympy: Solver for Integrable series of special Riccati equation.

2011-03-30 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2249 by yuri.kar...@gmail.com: Solver for Integrable series of special Riccati equation. http://code.google.com/p/sympy/issues/detail?id=2249 The solver for special Riccati equation integrable series will be added to symp

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #7 on issue 2247 by yuri.kar...@gmail.com: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 Sorry but this computations are absolutely accurate. And they were in the module long ago, I just add the part which was missed. Oh, dear I can recommend you some good bo

Re: Issue 2246 in sympy: Global directive to switch strict transformations

2011-03-30 Thread sympy
Comment #8 on issue 2246 by yuri.kar...@gmail.com: Global directive to switch strict transformations http://code.google.com/p/sympy/issues/detail?id=2246 The behavior of sole is really strange it solve In [6]: eq=tan(f(x))-x-c In [7]: solve(eq, f(x)) Out[7]: [atan(c + x)] but have NotImple

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #6 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 Sorry, issue 2245 is more similar, where simplification with no accuracy at some singularities is described. -- You received this message because you are subscribed to the Goog

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #5 on issue 2247 by pr...@goodok.ru: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 But does this: tanh(acoth(x)) ? (acoth has branches, and at the same time tanh is odd function therefore transpose this branch through itself) Nevertheless, I remarked another

Re: Issue 2246 in sympy: Global directive to switch strict transformations

2011-03-30 Thread sympy
Comment #7 on issue 2246 by yuri.kar...@gmail.com: Global directive to switch strict transformations http://code.google.com/p/sympy/issues/detail?id=2246 Yes, the example is totally wrong, but we can have another one: tan(f(x)) = x+C And we have to face this problem anyway. I hope to catch y

Re: Issue 2247 in sympy: Problem with coth

2011-03-30 Thread sympy
Comment #4 on issue 2247 by yuri.kar...@gmail.com: Problem with coth http://code.google.com/p/sympy/issues/detail?id=2247 Correction: All of these formula don't depend on cut agreement. Because for negative branch of sqrt we have coth(t) = -sqrt(1+x**2)/(-x) which is the same result. -- You r

Re: Issue 2217 in sympy: Patches tutorial

2011-03-30 Thread sympy
Comment #12 on issue 2217 by pr...@goodok.ru: Patches tutorial http://code.google.com/p/sympy/issues/detail?id=2217 Thanks for updates, I see them helpful. About local git version of wiki, yes I have not problems with it already. I inserted now the pictures, section about git settings, and men

Re: Issue 905 in sympy: series error: maximum recursion depth exceeded

2011-03-30 Thread sympy
Updates: Labels: -NeedsReview PassedReview Comment #14 on issue 905 by pr...@goodok.ru: series error: maximum recursion depth exceeded http://code.google.com/p/sympy/issues/detail?id=905 (No comment was entered for this change.) -- You received this message because you are subscribed