Re: [sympy] Hard system of symbolic equations

2014-09-11 Thread Andrea Fresu
I got better results using numpy to calculate the inverse of A, casting the result inside a sympy matrix, and then performing the product. Using joblib you can easily implement a parallel solution to do the product between matrix and vector I hope this helps! Bye! -- You received this message

[sympy] Expanding abstract symbols in terms of their values

2014-09-11 Thread Simon Hirscher
Hi, I'm working on an extension for sympy.diffgeom. Since expressions often get very complicated in differential geometry, it sometimes makes sense to e.g. simply keep a tensor as the indexed symbol it is, sometimes one inserts its actual components' values (and tries to simplify further). Put

Re: [sympy] Expanding abstract symbols in terms of their values

2014-09-11 Thread Aaron Meurer
doit is a pretty standard way to implement this pattern. You can make it work by implementing _eval_doit. expand is also OK (just implement _eval_expand_hint for whatever hint name makes sense, see the docstring of expand(). Aaron Meurer On Wed, Sep 10, 2014 at 9:52 AM, Simon Hirscher

[sympy] Re: Expanding abstract symbols in terms of their values

2014-09-11 Thread F. B.
We need to make sympy.diffgeom and sympy.tensor.tensor work together. Unfortunately the way is still long. Basically, sympy.tensor.tensor is meant to represent tensors by a symbol. It currently supports tensor polynomials in the abstract index notation, but I am (slowly) working on expressing

Re: [sympy] Re: SymPy 0.7.6 release

2014-09-11 Thread Aaron Meurer
My (arbitrary) milestone deadline for the 0.7.6 release is approaching. It's time to start clearing out https://github.com/sympy/sympy/milestones/0.7.6 by either finishing and merging them or deferring them. Aaron Meurer On Wed, Aug 27, 2014 at 12:03 PM, Sergey B Kirpichev skirpic...@gmail.com

[sympy] Simple operations on equations

2014-09-11 Thread Rathmann
I have been playing with SymPy and IPython Notebook and thought it would be useful to be able to explicitly perform some of the operations that are in the toolset taught in a high-school algebra class. This would be things like - Adding the same thing to both sides of an equation. -