Mathematica 9 is now available

Raster (modified)NestWhile

Apply

FilledSmallSquareApply[f, expr] or f @@ expr replaces the head of expr by f.

FilledSmallSquareApply[f, expr, levelspec] replaces heads in parts of expr specified by levelspec.

FilledSmallSquare Examples: Apply[f, a, b, c] LongRightArrow; Apply[Plus, g[a, b]] LongRightArrow.

FilledSmallSquare Level specifications are described in Section A.3.6.

FilledSmallSquare The default value for levelspec in Apply is {0}.

FilledSmallSquaref @@@ expr is equivalent to Apply[f, expr, 1].

FilledSmallSquare Examples: Apply[f, a,b,c,d] LongRightArrow.

FilledSmallSquareApply[f, a,b,c,d, 1] LongRightArrow.

FilledSmallSquareApply[f, a, -2] LongRightArrow.

FilledSmallSquare See The Mathematica Book: Section 1.8.12 and Section 2.2.3.

FilledSmallSquare See also: Map, Scan, Level, Operate, MapThread.

Further Examples

Raster (modified)NestWhile



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.