Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Operations  /
Append

  • Append[ expr , elem ] gives expr with elem appended.
  • Examples: Append[ a,b , c]; Append[f[a], b+c].
  • 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.
  • See the Mathematica book: Section 1.8.6.
  • See also: Prepend, Insert, AppendTo.


    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.