Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Functional Programming /

MapAll

FilledSmallSquare MapAll[f, expr] or f //@ expr applies f to every subexpression in expr.

FilledSmallSquare Example: MapAll[f, a,b,c,d] LongRightArrow.

FilledSmallSquare MapAll[f, expr] is equivalent to Map[f, expr, 0, Infinity].

FilledSmallSquare MapAll[f, expr, Heads -> True] applies f inside the heads of the parts of expr.

FilledSmallSquare See Section 2.2.4.

FilledSmallSquare See also: ExpandAll, ReplaceAll.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.