1. A method for generating a result vector with N elements, comprising: receiving a start value, and an increment value, and optionally receiving a predicate vector, wherein the predicate vector includes N elements; and generating the result vector, wherein generating the result vector comprises, when the predicate vector is received, for each element in the result vector for which a corresponding element of the predicate vector is active, otherwise, for each element in the result vector, setting the element in the result vector equal to the start value plus a product of the increment value multiplied by a specified number of elements to the left of the element in the result vector.