Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Element Extraction /

Select

FilledSmallSquare Select[list, crit] picks out all elements of list for which crit[] is True.

FilledSmallSquare Select[list, crit, n] picks out the first n elements for which crit[] is True.

FilledSmallSquare Example: Select[1,4,2,7,6, EvenQ] LongRightArrow.

FilledSmallSquare The object list can have any head, not necessarily List.

FilledSmallSquare Select can be used on SparseArray objects.

FilledSmallSquare See Section 2.2.7.

FilledSmallSquare See also: Cases, Take, Drop.

FilledSmallSquare Related package: Statistics`DataManipulation`.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: