Skip to main content

Insert

Note

Working with polygons? See Insert (Geometry).

Inserts an element in a list or vector.

Syntax

insert(List | Vector, Integer, Element)

Description

Given a list or a vector, an integer n and an element x, inserts in the nn-th position of the set the element xx. The elements from the n+1 position up to the end, are shifted, i.e. they are not deleted.

calc.insert.calc.png