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