MathGroup Archive 2012

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

Search the Archive

Re: Understanding patterns


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