MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with matching.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53927] Re: Problem with matching.
  • From: "Valeri Astanoff" <astanoff at yahoo.fr>
  • Date: Fri, 4 Feb 2005 04:11:31 -0500 (EST)
  • References: <ctrngb$brk$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

To my mind you have to prevent Mathematica from squaring F[{___, a_, ___}] :

In[1]:=
F[{x,2,c}]F[{x,1,f}]/.F[{b___,a_,c___}]F[{d___,a_,e___}] :> yes
Out[1]=
yes

Valeri


  • Prev by Date: Graphing sets of linear inequalities
  • Next by Date: Re: Problem with matching.
  • Previous by thread: Re: Problem with matching.
  • Next by thread: Re: Problem with matching.