Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Why does MatchQ[f[a][b],_f] return False?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46325] Re: Why does MatchQ[f[a][b],_f] return False?
  • From: drbob at bigfoot.com (Bobby R. Treat)
  • Date: Sat, 14 Feb 2004 04:38:00 -0500 (EST)
  • References: <c0k3ba$8i6$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Head[f[a][b]]
f[a]
MatchQ[f[a][b], _f[_]]
True

Bobby

semorrison_ at hotmail.com (Scott Morrison) wrote in message news:<c0k3ba$8i6$1 at smc.vnet.net>...
> What's going on here? How can I match for patterns like this?
> 
> Thanks, Scott Morrison
> (scott at-sign math dot berkeley dot edu)


  • Prev by Date: Re: Estimating parameters p and q in y'' + p y' + q y = Tide(t)
  • Next by Date: Re: Why does MatchQ[f[a][b],_f] return False?
  • Previous by thread: Re: Why does MatchQ[f[a][b],_f] return False?
  • Next by thread: Scrolling Notebooks