|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Insert
Insert[list, elem, n]
inserts elem at position n in list. If n is negative, the position is counted from the end.
Insert[expr, elem, {i, j, ...}]
inserts elem at position
in expr.
Insert[expr, elem, {{i1, j1, ...}, {i2, j2, ...}, ...}]
inserts elem at several positions.
DetailsDetails
- list can have any head, not necessarily List.
- Insert works on SparseArray objects by effectively inserting into the corresponding ordinary lists.
New in 1
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
