1. A method, comprising: performing, by a processor: receiving a basis vector and a control vector; selecting a basis value from the basis vector; and generating a result vector; wherein each of the basis vector, the control vector, and the result vector includes a respective plurality of elements that occupy N ordered element positions; wherein for each of the N ordered element positions, said generating comprises performing a fixed-value addition operation dependent upon the control vector and the basis value.