MathGroup Archive 2005

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

Search the Archive

Re: Problem with matching.


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.