This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

MapAtMapThread

MapIndexed

FilledSmallSquareMapIndexed[f, expr] applies f to the elements of expr, giving the part specification of each element as a second argument to f.

FilledSmallSquareMapIndexed[f, expr, levspec] applies f to all parts of expr on levels specified by levspec.

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

FilledSmallSquare Level specifications are described in Section A.3.6.

FilledSmallSquare The default value for levelspec in MapIndexed is {1}.

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

FilledSmallSquare See The Mathematica Book: Section 2.2.4.

FilledSmallSquare See also: MapAt.

Further Examples

MapAtMapThread