DOCUMENTATION CENTER SEARCH
Mathematica
>
Structural Operations on Expressions
>
Built-in
Mathematica
Symbol
Adding, Removing and Modifying List Elements
Manipulating Lists by Their Indices
Tutorials »
|
Prepend
Insert
AppendTo
PadRight
Sow
Join
See Also »
|
Constructing Lists
Elements of Lists
Expressions
Handling Arrays of Data
List Manipulation
Parts of Expressions
Rearranging & Restructuring Lists
Structural Operations on Expressions
More About »
Append
Append
[
expr
,
elem
]
gives
expr
with
elem
appended.
MORE INFORMATION
In iteratively building a list, it is usually more efficient to use
Sow
and
Reap
than to use
Append
[
list
,
new
]
at each step.
Append
works on
SparseArray
objects, returning ordinary lists if necessary.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
Out[1]=
Generalizations & Extensions
(1)
Applications
(4)
Possible Issues
(1)
SEE ALSO
Prepend
Insert
AppendTo
PadRight
Sow
Join
TUTORIALS
Adding, Removing and Modifying List Elements
Manipulating Lists by Their Indices
MORE ABOUT
Constructing Lists
Elements of Lists
Expressions
Handling Arrays of Data
List Manipulation
Parts of Expressions
Rearranging & Restructuring Lists
Structural Operations on Expressions
New in 1
© 2008 Wolfram Research, Inc.