Add the contents of one vector to another vector

add2vec(target, increments, inds)

Arguments

dest

target vector

orig

vector to be added

indices

in the target

Value

add the elements of one row vector to another.