Copy the contents of one vector into another

copy_vec2(dest, orig, inds)

Arguments

dest

destination row vector

orig

origin row vector

inds

vector of indices in the destination

Value

copy the elements of one row vector into another.