On Wed, Jun 18, 2008 at 11:50 AM, Robert Kern [EMAIL PROTECTED] wrote:
On Wed, Jun 18, 2008 at 04:32, Ondrej Certik [EMAIL PROTECTED] wrote:
1) commit your patch as is and wait until someone fixes the x-y
problem in a general way
2) commit your patch + my patch + a good comment, that adding
I've implemented an evaluate=False option for Add, Mul, Pow and
functions (see attachment). This could be useful to suppress default
behavior like Sub(x,y) - Add(x,Mul(-1,y)) for code generation etc. As
it happens, I need something like this for evalf testing as well.
Fredrik
On Wed, Jun 18, 2008 at 3:26 PM, Fredrik Johansson
[EMAIL PROTECTED] wrote:
I've implemented an evaluate=False option for Add, Mul, Pow and
functions (see attachment). This could be useful to suppress default
behavior like Sub(x,y) - Add(x,Mul(-1,y)) for code generation etc. As
it happens, I
Hello,
how about adding this function to the Matrix class? I find it very useful. Any
objections?
Riccardo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to
Brian Jorgensen wrote:
For years, I've been hearing that effective text editing is essential
to productive coding, but I'd never really taken the time to move
beyond Notepad++, Text Mate, and gedit. I've recently started using
vim, and I'm really impressed. I can already see the dramatic
On Thu, Jun 19, 2008 at 12:52 AM, Brian Jorgensen
[EMAIL PROTECTED] wrote:
For years, I've been hearing that effective text editing is essential to
productive coding, but I'd never really taken the time to move beyond
Notepad++, Text Mate, and gedit. I've recently started using vim, and I'm
While checking SymPy wiki's tutorial about pattern
matchinghttp://wiki.sympy.org/wiki/Tutorial#Pattern_matching,
I ended up with the following:
from sympy import *
x = Symbol('x')
p = Wild('p')
q = Wild('q')
(5*x**2 + 3*x).match(p*x**2 + q*x)
I got the following result,
{q_: 5*x, p_: 3/x}
On Wed, Jun 18, 2008 at 05:44, Ondrej Certik [EMAIL PROTECTED] wrote:
On Wed, Jun 18, 2008 at 11:50 AM, Robert Kern [EMAIL PROTECTED] wrote:
I can probably implement multiple expression support + unit tests +
subtraction preprocessing in a few days time.
Excellent. In this case, let's go