MathGroup Archive 2009

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

Search the Archive

Re: Select any

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101969] Re: Select any
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Fri, 24 Jul 2009 06:15:16 -0400 (EDT)
  • References: <h4955q$q9l$1@smc.vnet.net>

Hi,

> does mathematica have something like "select any" that gets any
> element of a list that satisfies a criterion?

yes, and the name is not too hard to guess :-):

Select[{a,1,0.45,Pi,Plot[x,{x,0,1}]},NumericQ]


hth,

albert


  • Prev by Date: Re: Select any
  • Next by Date: Re: Select any
  • Previous by thread: Re: Select any
  • Next by thread: Re: Select any