MathGroup Archive 2009

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

Search the Archive

Re: Select any

  • To: mathgroup at
  • Subject: [mg101959] Re: Select any
  • From: fd <fdimer at>
  • Date: Fri, 24 Jul 2009 06:13:24 -0400 (EDT)
  • References: <h4955q$q9l$>

On Jul 23, 5:57 pm, Niko <niko.schw... at> wrote:
> does mathematica have something like "select any" that gets any
> element of a list that satisfies a criterion?

yes, the command Select[list,crit]
you can also use the command Cases[list,pattern]


select any whose first element is > 1


out:={{2, 1}, {3, 2}}

  • Prev by Date: A Question about PoteinData function
  • Next by Date: Forcing vertical scale on Histogram
  • Previous by thread: Re: Select any
  • Next by thread: Re: Select any