
Find Consecutive Numbers in a Vector
get_next_consecutives.RdGiven two vectors of integers, this function finds the consecutive
number in the second vector (post) for each element in the first vector
(prev).

get_next_consecutives.RdGiven two vectors of integers, this function finds the consecutive
number in the second vector (post) for each element in the first vector
(prev).