Issue 2020 in sympy: Symbols & Matrices

2010-08-12 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2020 by chr.schu...@gmx.de: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 Hi, I was wondering whether it is planned to implement matrix support for symbols. I often use symbolic calculation for mat

Re: Issue 2020 in sympy: Symbols & Matrices

2011-10-15 Thread sympy
Updates: Cc: mrock...@gmail.com Comment #13 on issue 2020 by asmeu...@gmail.com: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 Is there anything left to do in this issue now that we have MatrixExpr? -- You received this message because you are subscribed to the

Re: Issue 2020 in sympy: Symbols & Matrices

2011-10-15 Thread sympy
Comment #15 on issue 2020 by mrock...@gmail.com: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 No, inclusion of the MatrixExpr class does not handle all of the desired cases. In particular MatrixExprs do not play nice with the SymPy Matrix object. This desire was

Re: Issue 2020 in sympy: Symbols & Matrices

2012-02-22 Thread sympy
Updates: Status: Fixed Comment #16 on issue 2020 by mrock...@gmail.com: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 Now that ImmutableMatrix is in I think we have covered all requests made in this issue. wanted a = sympy.Symbol('a', commutative=False, shape

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-12 Thread sympy
Updates: Status: Accepted Cc: christian.muise Labels: Matrices Assumptions Comment #1 on issue 2020 by asmeurer: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 For eq1, yes, I think we should add support for that. As the third thing suggests, t

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-12 Thread sympy
Comment #2 on issue 2020 by christian.muise: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 Depends on what you define the "new assumptions model" to be -- since they're just symbols, they should be dispatching the is_commutative to the global_assumptions to check

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-13 Thread sympy
Comment #3 on issue 2020 by chr.schu...@gmx.de: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 I started writing a first draft of a test script for matrices and symbols. It could be used as a guideline for implementing these features. Please feel free to add any function

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-13 Thread sympy
Updates: Status: Started Cc: -christian.muise Comment #4 on issue 2020 by asmeurer: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 If you decorate the ones that don't work with XFAIL (so that it passes the test runner), something like this could be push

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-16 Thread sympy
Comment #5 on issue 2020 by chr.schu...@gmx.de: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 I created a patch with the test script in sympy/matrices/tests and all functions decorated with @XFAIL Attachments: test_sym_matrices.py 6.2 KB -- You received th

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-16 Thread sympy
Comment #6 on issue 2020 by ronan.l...@gmail.com: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 I don't think adding a shape argument to Symbol is a good idea, it would severely dilute the meaning of the class Symbol and force all code using it to add checks for the

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-17 Thread sympy
Comment #7 on issue 2020 by chr.schu...@gmx.de: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 I like the idea of adapting the Indexed class. Is there any description available what Indexed should be used for? Is the interaction with Matrix and Symbol a part of it?

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-17 Thread sympy
Comment #8 on issue 2020 by ellisonbg: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 I agree that adding shape attribute to Symbol or Expr is a bad idea. We need to get away from adding logic to the core to support new subclasses of Expr. What we really need are c

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-17 Thread sympy
Comment #9 on issue 2020 by asmeurer: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 What we really need are custom Add, Mul, Pow, etc. classes that know how to handle these things. Really, the default Mul, Add, etc. should be smart enough to do it so that they are

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-18 Thread sympy
Comment #10 on issue 2020 by jensen.oyvind: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 In this branch: http://github.com/jegerjensen/sympy/tree/gsoc_result the Indexed class is more developed. There is already a shape attribute for the IndexedBase class (which is

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-18 Thread sympy
Comment #11 on issue 2020 by chr.schu...@gmx.de: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 I really like the Indexed class, and I will have a look at the _op_priority feature. What is the general opinion on allowing Symbol/Indexed to interact with Matrix, i.e.

Re: Issue 2020 in sympy: Symbols & Matrices

2010-08-19 Thread sympy
Comment #12 on issue 2020 by jensen.oyvind: Symbols & Matrices http://code.google.com/p/sympy/issues/detail?id=2020 About "a - sympy.Matrix(...)": It would be a well defined operation if the Indexed framework got support for broadcasting. I think it would be cool to implement exactly the same