MathGroup Archive 2002

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

Search the Archive

Re: Help with Select[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34666] Re: Help with Select[]
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 31 May 2002 04:26:59 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <ad4j0u$jkt$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,


-------------------- SNIP SNAP --------------------------------------
> First, I would like to know how to generate an arbitrary "selection
> function" f[n] so that

Select[anyOfYourSets, And @@ (Equal[0, Last[#]] &) /@ # &]

?

> 
> Is it possible to construct such an f? Or is there a better way of
> accomplishing this task? It seems that perhaps pattern matching might be of
> use, but I haven't gotten too far with it.

Regards
  Jens


  • Prev by Date: Re: Extraction of positive values from list of both +/- values
  • Next by Date: Re: Extraction of positive values from list of both +/- values
  • Previous by thread: Help with Select[]
  • Next by thread: Re: Help with Select[]