Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2219 by hector1...@gmail.com: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 This is related Issue 1336 and Issue 1941. These two issues are related to the solution of ODE

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Comment #1 on issue 2219 by hector1...@gmail.com: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 Sorry, I don't know how to add owner and how to change Type from defect to Enhancement. -- You received this message because you are subscri

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Updates: Cc: smi...@gmail.com Labels: -Type-Defect Type-Enhancement Comment #2 on issue 2219 by asmeurer: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 You have to be a project member to change issue labels. I have added yo

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Updates: Owner: hector1...@gmail.com Labels: Integration Comment #3 on issue 2219 by hector1...@gmail.com: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 Its not working the way you told. In [87]: integrate(x,constant=Tru

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Comment #4 on issue 2219 by asmeurer: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 You misunderstood. I am saying that I think it is how it should work. The functionality is not implemented yet. And you are right that it should raise

Re: Issue 2212 in sympy: Matrix([Matrix, …]) should work

2011-03-20 Thread sympy
Comment #1 on issue 2212 by gitul...@gmail.com: Matrix([Matrix, …]) should work http://code.google.com/p/sympy/issues/detail?id=2212 It seems that SymPy does not support matrices as building elements for matrices (only lists and tuples are accepted that is why your last example works). In

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Comment #5 on issue 2219 by hector1...@gmail.com: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 Ohh sorry for that. I completely got it wrong. I made some modifications in the sympy/sympy/integral/integral.py the function integral such tha

Re: Issue 2212 in sympy: Matrix([Matrix, …]) should work

2011-03-20 Thread sympy
Comment #2 on issue 2212 by ronan.l...@gmail.com: Matrix([Matrix, …]) should work http://code.google.com/p/sympy/issues/detail?id=2212 Nice! With your patch, Matrix(...) is able to stack its arguments vertically. This raises interesting additional points: * it should be possible to stack t

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Comment #6 on issue 2219 by asmeurer: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 Like I said in comment 2, you can get all the free symbols in an expression by doing expr.free_symbols. That should be sufficient to implement 3. In [3

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

2011-03-20 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Medium Matrices New issue 2220 by asmeurer: Bug with Matrix.is_symbolic and Matrix.is_upper http://code.google.com/p/sympy/issues/detail?id=2220 In [47]: a = Matrix([[1, 2, 3]]) In [48]: a.is_symbolic() -

Re: Issue 2212 in sympy: Matrix([Matrix, …]) should work

2011-03-20 Thread sympy
Updates: Labels: NeedsReview gituliar Comment #3 on issue 2212 by asmeurer: Matrix([Matrix, …]) should work http://code.google.com/p/sympy/issues/detail?id=2212 Thanks. The last one now works. The first two do not, but that was just me playing around with the syntax trying to get it t

Re: Issue 2212 in sympy: Matrix([Matrix, …]) should work

2011-03-20 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview PassedReview Comment #4 on issue 2212 by asmeurer: Matrix([Matrix, …]) should work http://code.google.com/p/sympy/issues/detail?id=2212 I have pushed your patch in. Thank you for contributing. Ronan, can you open a new issue for your

Issue 2221 in sympy: hstack() and vstack() methods for Matrix

2011-03-20 Thread sympy
Status: Accepted Owner: ronan.l...@gmail.com Labels: Type-Enhancement Priority-Medium Matrices New issue 2221 by ronan.l...@gmail.com: hstack() and vstack() methods for Matrix http://code.google.com/p/sympy/issues/detail?id=2221 After the fix for issue 2212, Matrix(...) is able to stack its a

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

2011-03-20 Thread sympy
Status: Accepted Owner: ronan.l...@gmail.com Labels: Type-Defect Priority-Low Matrices New issue by ronan.l...@gmail.com: Matrix([Matrix, ...]) should check the row length of empty matrices http://code.google.com/p/sympy/issues/detail?id= Currently, we have this: In [20]: Matrix(([1

Re: Issue 2212 in sympy: Matrix([Matrix, …]) should work

2011-03-20 Thread sympy
Comment #5 on issue 2212 by ronan.l...@gmail.com: Matrix([Matrix, …]) should work http://code.google.com/p/sympy/issues/detail?id=2212 That's issue 2221. And a small inconsistency I noticed for empty matrices is issue . -- You received this message because you are subscribed to the Go

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Comment #7 on issue 2219 by ronan.l...@gmail.com: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 I don't think 3) can currently be done in a way that's meaningful. Consider the PDE d²f/dxdy = 0, we'd like the solution to be integrate(inte

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Updates: Blockedon: 1336 Comment #8 on issue 2219 by asmeurer: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 That's because integrate(0, y) == C_1(x), not C_1. What is really needed is some way to say what the constants are constan

Re: Issue 1336 in sympy: Arbitrary constant type

2011-03-20 Thread sympy
Issue 1336: Arbitrary constant type http://code.google.com/p/sympy/issues/detail?id=1336 This issue is now blocking issue 2219. See http://code.google.com/p/sympy/issues/detail?id=2219 -- You received this message because you are listed in the owner or CC fields of this issue, or because you sta

Re: Issue 2217 in sympy: Patches tutorial

2011-03-20 Thread sympy
Updates: Status: Started Comment #5 on issue 2217 by asmeurer: Patches tutorial http://code.google.com/p/sympy/issues/detail?id=2217 Thanks for your work cleaning up the wiki. That is really appreciated. -- You received this message because you are subscribed to the Google Groups "sym

Re: Issue 2219 in sympy: Arbitrary constants in indefinite integration

2011-03-20 Thread sympy
Comment #9 on issue 2219 by smi...@gmail.com: Arbitrary constants in indefinite integration http://code.google.com/p/sympy/issues/detail?id=2219 Yes, regarding free_symbols, that will give you all of the unbound symbols: h[2] >>> Integral(x+y,(x,1,2)).free_symbols set([y]) h[3] >