MathGroup Archive 2008

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

Search the Archive

Function pure for Select


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