Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Understanding patterns

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126097] Re: Understanding patterns
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Tue, 17 Apr 2012 06:03:10 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204161010.GAA26201@smc.vnet.net>

Select the two underscores, hit F1, and read documentation on BlankSequence.

Select the ?, hit F1, and read the documentation on PatternTest.


Bob Hanlon


On Mon, Apr 16, 2012 at 6:10 AM, Sam Takoy <sam.takoy at yahoo.com> wrote:
> Hi,
>
> I hoping to get some pointers on understanding patterns. For example,
> I can't quite make sense of the following:
>
> f[p : {__?NumericQ}] :=
>
> What is the meaning of "{", the double underscore, and the question
> mark?
>
> Many thanks in advance,
>
> Sam
>



  • Prev by Date: key for deleting cell?
  • Next by Date: NIntegrate about singular point
  • Previous by thread: Understanding patterns
  • Next by thread: Re: Understanding patterns