Mathematica 9 is now available

Slot (#)Map (/@)

SlotSequence

FilledSmallSquare## represents the sequence of arguments supplied to a pure function.

FilledSmallSquare##n represents the sequence of arguments supplied to a pure function, starting with the n argument.

FilledSmallSquare## is used to represent sequences of arguments in pure functions of the form body& or Function[body].

FilledSmallSquare## is equivalent to SlotSequence[ ] or SlotSequence[1].

FilledSmallSquare##n is equivalent to SlotSequence[n]. n must be a positive integer.

FilledSmallSquare A sequence of arguments supplied to a pure function is "spliced" into the body of the function wherever ## and so on appear.

FilledSmallSquare See The Mathematica Book: Section 2.2.5.

FilledSmallSquare See also: Sequence.

Further Examples

Slot (#)Map (/@)



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.