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

Map

Usage

Map[f, expr] or f /@ expr applies f to each element on the first level in expr.
Map[f, expr, levelspec] applies f to parts of expr specified by levelspec.


Notes

• Examples: Map[f,  a, b, c ]LongRightArrow ; Map[f, a + b + c]LongRightArrow .
• Level specifications are described in Section A.3.6.
• The default value for levelspec in Map is {1}.
• Examples: Map[f,   a,b , c,d  ]LongRightArrow ; Map[f,   a,b , c,d  , 2]LongRightArrow ; Map[f,   a,b , c,d  , -1]LongRightArrow .
• If expr is a SparseArray object, Map[f, expr] applies f to the values or subarrays that appear in expr.
• See Section 2.2.4.
• New in Version 1.


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



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: