Mathematica 9 is now available

SelectPrepend

Append

FilledSmallSquareAppend[expr, elem] gives expr with elem appended.

FilledSmallSquare Examples: Append[a,b, c] LongRightArrow; Append[f[a], b+c] LongRightArrow.

FilledSmallSquare In iteratively building a structure, it is usually more efficient to use list, new at each step, followed by Flatten at the end, than to use Append[list, new] at each step.

FilledSmallSquare See The Mathematica Book: Section 1.8.6.

FilledSmallSquare See also: Prepend, Insert, AppendTo, PadRight.

Further Examples

SelectPrepend



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.