On Thu, Jun 19, 2008 at 5:47 PM, Roberto Nobrega <[EMAIL PROTECTED]> wrote: > I'm running latest hg version: > > [EMAIL PROTECTED]:~/Projects/sympy$ hg tip > changeset: 2143:ccebd03423df > tag: tip > user: Riccardo Gori <[EMAIL PROTECTED]> > date: Wed Jun 18 17:47:53 2008 +0200 > summary: Matrix-number multiplication speedup 700% > > [EMAIL PROTECTED]:~/Projects/sympy$ ./bin/isympy > Python 2.5.2 console for SymPy 0.5.15-hg > > These commands were executed: >>>> from __future__ import division >>>> from sympy import * >>>> x, y, z = symbols('xyz') >>>> k, m, n = symbols('kmn', integer=True) >>>> f = Function("f") > > Documentation can be found at http://sympy.org/ > > In [1]: p = Wild('p') > > In [2]: q = Wild('q') > > In [3]: (5*x**2 + 3*x).match(p*x**2 + q*x) > Out[3]: > ⎧ 3⎫ > ⎨q: 5*x, p: ─⎬ > ⎩ x⎭ > > Roberto.
Interesting. Yes, I think it should behave the same. How does this work in Mathematica/Maple? Should exclude=[x] be default? How should sympy know you want to exclude "x", but not "y"? Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---