Copy an element from one vector into another

copy_elem(dest, orig, ind)

Arguments

dest

destination row vector

orig

origin row vector

ind

C++ style index for the element to be copied

Value

copy an element of one row vector into another.