Mathematica 9 is now available

Append

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

• Example: Append[{a, b}, c] LongRightArrow  .
• See also:
Prepend.
    

Examples

Using InstantCalculators

Here are the InstantCalculators for the Append function. Enter the parameters for your calculation and click Calculate to see the result.

Entering Commands Directly

You can paste a template for the command via the Text Input button on the Append Function Controller.

This appends x to {a, b}.

If you are iteratively building a list, 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.

Clear the variable definition.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.