insert an element into a vector

insert_elem(dest, elem, ind)

Arguments

dest

destination row vector

ind

C++ style index for the element to be copied

orig

elem

Value

copy an element of one row vector into another.