MathGroup Archive 2008

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

Search the Archive

Function pure for Select

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93027] Function pure for Select
  • From: Miguel <misvrne at gmail.com>
  • Date: Fri, 24 Oct 2008 02:29:41 -0400 (EDT)

Hi al,

How can I to write a function pure to extract all the first rows of
collection of data, applied to a list?.

For example,

Select[data,First[#]==30&]

This function extracts all rows which first element is equal to 30.
Well, I want to extend this function to a list of values
{30,45,50,66}.


Thanks


  • Prev by Date: Re: Expressions with ellipsis (...)
  • Next by Date: Re: initialize cells
  • Previous by thread: Re: my Mathematica file was corrupted ! help !
  • Next by thread: Re: Function pure for Select