Re: Issue 2223 in sympy: Rename top level apply_operators to qapply

2011-03-23 Thread sympy
Updates: Labels: -NeedsReview PassedReview Comment #3 on issue 2223 by Vinzent.Steinberg: Rename top level apply_operators to qapply http://code.google.com/p/sympy/issues/detail?id=2223 (No comment was entered for this change.) -- You received this message because you are subscribed

Re: Issue 2223 in sympy: Rename top level apply_operators to qapply

2011-03-23 Thread sympy
Updates: Status: Fixed Comment #4 on issue 2223 by Vinzent.Steinberg: Rename top level apply_operators to qapply http://code.google.com/p/sympy/issues/detail?id=2223 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 2000 in sympy: Inconsistencies with limit()

2011-03-23 Thread sympy
Updates: Status: Fixed Comment #4 on issue 2000 by Vinzent.Steinberg: Inconsistencies with limit() http://code.google.com/p/sympy/issues/detail?id=2000 This is in. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group,

Re: Issue 2222 in sympy: Matrix([Matrix, ...]) should check the row length of empty matrices

2011-03-23 Thread sympy
Comment #11 on issue by pr...@goodok.ru: Matrix([Matrix, ...]) should check the row length of empty matrices http://code.google.com/p/sympy/issues/detail?id= Yes, I mean slicing. Now I see that all variants of usage and generalization must be examined deeper. (I also have not look

Re: Issue 828 in sympy: In sympy.geometry many docstrings are not good enough

2011-03-23 Thread sympy
Comment #9 on issue 828 by gdrummo...@gmail.com: In sympy.geometry many docstrings are not good enough http://code.google.com/p/sympy/issues/detail?id=828 I'll fix the Triangle docstrings. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To

Re: Issue 950 in sympy: put all _sage_ methods to one place

2011-03-23 Thread sympy
Comment #5 on issue 950 by pr...@goodok.ru: put all _sage_ methods to one place http://code.google.com/p/sympy/issues/detail?id=950 As I understand the same (about Ronan's "Having to hack the core") is with _pretty_ and so on. Is not this? I cite the old correspondence (the answer of Aaro

Re: Issue 341 in sympy: sympy-merge: matrices: dirac conjugation is broken

2011-03-23 Thread sympy
Comment #9 on issue 341 by ness...@googlemail.com: sympy-merge: matrices: dirac conjugation is broken http://code.google.com/p/sympy/issues/detail?id=341 physics/matrices.py provides a working replacement for Pauli called msigma. Whereas pauli tries to implement the pauli algebra directly (a

Re: Issue 2224 in sympy: Number('5').__class__ == Real

2011-03-23 Thread sympy
Comment #4 on issue 2224 by mrock...@gmail.com: Number('5').__class__ == Real http://code.google.com/p/sympy/issues/detail?id=2224 Issued pull request through github. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, se

Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Currently the norm function on matrices only works for rows or columns (1d matrices) and only performs the 2-norm norm(x

Re: Issue 1242 in sympy: Simplifying of complex exponentials

2011-03-23 Thread sympy
Comment #3 on issue 1242 by pr...@goodok.ru: Simplifying of complex exponentials http://code.google.com/p/sympy/issues/detail?id=1242 Yes, I indicate that this works in current SymPy. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post

Re: Issue 1935 in sympy: Sum doesn't rebuild itself

2011-03-23 Thread sympy
Comment #4 on issue 1935 by pr...@goodok.ru: Sum doesn't rebuild itself http://code.google.com/p/sympy/issues/detail?id=1935 I indicate that this works in current SymPy now: >>> expr = Sum(x**k, (k,1,5), (x,0,9)) >>> expr Sum(x**k, (k, 1, 5), (x, 0, 9)) >>> expr.func(*expr.args

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #1 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 A few of the matrix norms seem to depend on undeveloped machinery (i.e. SVD). Is it best to throw NotImplementedErrors or to wait on this all together? Can anyone think

Re: Issue 1456 in sympy: use pyflakes to identify simple bugs in sympy and fix them

2011-03-23 Thread sympy
Comment #3 on issue 1456 by dah4...@gmail.com: use pyflakes to identify simple bugs in sympy and fix them http://code.google.com/p/sympy/issues/detail?id=1456 I was going to make a patch but I got really lazy. here is my pyflakes output with some of the correct but misidentified things remo

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #2 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Ah, so one method of computing SVD is to compute the eigenvalue decomposition of A^T*A and A*A^T (in real setting). Should this be implemented? Is this terribly slow? I'

Re: Issue 2222 in sympy: Matrix([Matrix, ...]) should check the row length of empty matrices

2011-03-23 Thread sympy
Comment #12 on issue by asmeurer: Matrix([Matrix, ...]) should check the row length of empty matrices http://code.google.com/p/sympy/issues/detail?id= You might also look at http://en.wikipedia.org/wiki/Empty_matrix. To quote the MATLAB docs you cited: "The basic model for empty ma

Re: Issue 2224 in sympy: Number('5').__class__ == Real

2011-03-23 Thread sympy
Updates: Labels: NeedsReview MRocklin Comment #5 on issue 2224 by asmeurer: Number('5').__class__ == Real http://code.google.com/p/sympy/issues/detail?id=2224 In the future, make a note of the pull request number here on the issue. This one is at https://github.com/sympy/sympy/pull/15

Re: Issue 1242 in sympy: Simplifying of complex exponentials

2011-03-23 Thread sympy
Comment #4 on issue 1242 by asmeurer: Simplifying of complex exponentials http://code.google.com/p/sympy/issues/detail?id=1242 Is the behavior tested? If so, then this can be closed. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to

Re: Issue 1935 in sympy: Sum doesn't rebuild itself

2011-03-23 Thread sympy
Updates: Status: Fixed Comment #5 on issue 1935 by asmeurer: Sum doesn't rebuild itself http://code.google.com/p/sympy/issues/detail?id=1935 I think this was fixed with issue 2070. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To pos

Re: Issue 2222 in sympy: Matrix([Matrix, ...]) should check the row length of empty matrices

2011-03-23 Thread sympy
Comment #13 on issue by pr...@goodok.ru: Matrix([Matrix, ...]) should check the row length of empty matrices http://code.google.com/p/sympy/issues/detail?id= Thanks, I understand the model now, but it seems that it is extension. May be similar as complex extends reals or other fiel

Re: Issue 1242 in sympy: Simplifying of complex exponentials

2011-03-23 Thread sympy
Comment #5 on issue 1242 by pr...@goodok.ru: Simplifying of complex exponentials http://code.google.com/p/sympy/issues/detail?id=1242 In current master: In [1]: c = cos(x)._eval_rewrite_as_exp(x) In [2]: t = tan(x)._eval_rewrite_as_exp(x) In [3]: simplify(c*t) In [1]: c = cos(x)._eval_rew

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #3 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Pull request issued https://github.com/sympy/sympy/pull/156 Included is Matrix.norm, Matrix.singular_values, Matrix.condition_number I didn't include the main SVD work. I'

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #5 on issue 2225 by p...@goodok.ru: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 I have looked at the code (one eye), nice. Some *preliminary* remarks, I put there -- You received this message because you are subscribed to the Google Groups "sympy-iss

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #4 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Sent in a Pull request https://github.com/sympy/sympy/pull/156 This includes work on Matrix.norm, Matrix.singular_values, and Matrix.condition_number I left the main SV

Issue 2226 in sympy: Test failure for tsolve()

2011-03-23 Thread sympy
Status: Accepted Owner: ronan.l...@gmail.com Labels: Type-Defect Priority-Medium EasyToFix New issue 2226 by ronan.l...@gmail.com: Test failure for tsolve() http://code.google.com/p/sympy/issues/detail?id=2226 I've had a test failure for some time in sympy/solvers, cf. http://paste.pocoo.org/s

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #6 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Response to an e-mail comment. I chose to make the standard matrix norm the spectral norm. This matches the standard vector 2-norm mathematically. The spectral norm is th

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Updates: Status: NeedsDecision Labels: NeedsReview MRocklin Comment #7 on issue 2225 by asmeurer: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Maybe someone with more knowledge of it could decide about that norm thing. -- You received this message b

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #8 on issue 2225 by p...@goodok.ru: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 I am not sure about what to do now, I just rise up question. I will answer tomorrow. And do not worry, as I begin to discuss your GitHub pull request I automaticaly joind

Re: Issue 1117 in sympy: Setup buildbot (again)

2011-03-23 Thread sympy
Updates: Summary: Setup buildbot (again) Labels: -Priority-Medium Priority-Critical Comment #8 on issue 1117 by ronan.l...@gmail.com: Setup buildbot (again) http://code.google.com/p/sympy/issues/detail?id=1117 I'm raising the priority on this. Stuff like this is just too embarras

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #9 on issue 2225 by sherjilo...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 This approach only works for purely numerical matrices. Check out sympy/mpmath/matrices/matrices.py That is the library that deals with numeric matrices. Any numeric al

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #10 on issue 2225 by asmeurer: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 You should not edit the mpmath files. mpmath is a separate library that we include with SymPy, so any changes there should be backported to mpmath. This change actually does bel

Re: Issue 2186 in sympy: X, Y, Z gates should be hermitian as well as unitary

2011-03-23 Thread sympy
Comment #2 on issue 2186 by lazov...@gmail.com: X, Y, Z gates should be hermitian as well as unitary http://code.google.com/p/sympy/issues/detail?id=2186 I've been looking at this issue but have a small question. Is the solution to this as simple as having the XGate, YGate, and ZGate classe

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #11 on issue 2225 by sherjilo...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 @asmeurer: I don't think there is such a thing as symbolic norms. Correct me if I'm wrong. -- You received this message because you are subscribed to the Google Grou

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #12 on issue 2225 by asmeurer: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 Certainly there are. They are as defined in the OP. So, for example, the 2 norm of the vector [x, y, z] is sqrt(x**2 + y**2 + z**2). Just about anything in mathematics that can

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #13 on issue 2225 by sherjilo...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 What I mean is, Norms make sense only when the matrix is completely known, and thus when it is purely numerical. 'Norm' aims to associate a number with a matrix that

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #14 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 I e-mailed this to the list, it doesn't appear to be coming up. I apologize if a repeat post happens. Example: Spectral norm of a matrix (standard 2-norm) can be define

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #15 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 To be clear I don't think this will often be useful (except for simple educational cases). As long as we have the ability to compute eigenvalues symbolically though why

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #16 on issue 2225 by sherjilo...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 "As long as we have the ability to compute eigenvalues symbolically" Could you elaborate what you mean by this ? You're right that's not much code, but we do have to c

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #17 on issue 2225 by sherjilo...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 OK, I get what you mean by "As long as we have the ability to compute eigenvalues symbolically" Yeah, I'd let the core team decide if this is important enough to be

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #19 on issue 2225 by mrock...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 I think it can be useful. Remember that CASs like SymPy can handle easily very large symbolic expressions that you could never feasibly handle by hand. Also, just bec

Re: Issue 2081 in sympy: Pow substitution introduces wrong answers

2011-03-23 Thread sympy
Comment #17 on issue 2081 by ffxvzero: Pow substitution introduces wrong answers http://code.google.com/p/sympy/issues/detail?id=2081 hi guys, an openrave rpm package for fedora core will be released soon, which relies on this bug being fixed. https://bugzilla.redhat.com/show_bug.cgi?id=

Re: Issue 2081 in sympy: Pow substitution introduces wrong answers

2011-03-23 Thread sympy
Updates: Cc: smi...@gmail.com Labels: -Priority-Medium Priority-High Comment #18 on issue 2081 by asmeurer: Pow substitution introduces wrong answers http://code.google.com/p/sympy/issues/detail?id=2081 If someone fixes it before then, it will. I'll raise the priority for y

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #20 on issue 2225 by ronan.l...@gmail.com: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 I think both Sherjil and Matthew make good points here. There are cases where you want .norm() to return an explicit result but if you consider a 100*100 matrix with

Re: Issue 2220 in sympy: Bug with Matrix.is_symbolic and Matrix.is_upper

2011-03-23 Thread sympy
Comment #1 on issue 2220 by sean.v@gmail.com: Bug with Matrix.is_symbolic and Matrix.is_upper http://code.google.com/p/sympy/issues/detail?id=2220 See https://github.com/sympy/sympy/pull/157 -- You received this message because you are subscribed to the Google Groups "sympy-issues" grou

Issue 2227 in sympy: Numerical integration of 2 and 3 dimensional integrals

2011-03-23 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2227 by markdew...@gmail.com: Numerical integration of 2 and 3 dimensional integrals http://code.google.com/p/sympy/issues/detail?id=2227 Sympy only handles 1-D integrals numerically. The underlying mpmath functions can

Re: Issue 2225 in sympy: Enhancing Matrix Norm

2011-03-23 Thread sympy
Comment #21 on issue 2225 by pr...@goodok.ru: Enhancing Matrix Norm http://code.google.com/p/sympy/issues/detail?id=2225 For even very simple matrices they're often hideous. But for many collections of matrices (and for many objects), one might could say for group of them, the norm (of app