Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: search for an operator in an expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78359] Re: search for an operator in an expression
  • From: rob <josh2499 at hotmail.com>
  • Date: Fri, 29 Jun 2007 05:42:36 -0400 (EDT)
  • References: <f5ta7e$oo$1@smc.vnet.net>

Sir, I count 9 "+" in your expr but your Count gives 7 on my 
machine.

chuck009 wrote:

> How about this:
> 
> expr = 2 + a*Exp[-b x] + Sin[c + b] + d + f + Exp[h + k] + Sin[Exp[u + v]];
> 
> Count[#, Plus[__]] & /@ FullForm[expr]
> 


  • Prev by Date: Re: Problems with DrawGraphics and Mathematica 6.0?
  • Next by Date: Motion
  • Previous by thread: Re: search for an operator in an expression
  • Next by thread: Re: search for an operator in an expression