MathGroup Archive 2010

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

Search the Archive

Re: Collecting Positive and Negative Terms


On Aug 14, 12:32 pm, Albert Retey <a... at gmx-topmail.de> wrote:

> Cases[expr, _?Positive | _Symbol | Times[_?Positive, ___]]

This may, in fact, be the solution. Thanks for pointing my attention
the the subtleties of pattern matching in Mathematica!

--
Michael Knudsen


  • Prev by Date: Re: Collecting Positive and Negative Terms
  • Next by Date: Re: Collecting Positive and Negative Terms
  • Previous by thread: Re: Collecting Positive and Negative Terms
  • Next by thread: Re: Collecting Positive and Negative Terms