|
Append
Append[expr, elem] gives expr with elem appended.
Examples: Append[ a,b , c]  ; Append[f[a], b+c]  .
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.
See Section 1.8.6 and Section 2.4.2.
See also: Prepend, Insert, AppendTo, PadRight, Sow.
New in Version 1.
Further Examples
|