I was wondering: is there a (more elegant, and preferably more efficient) way to do this:

vector1[i] = a*vector2[i] + (1-a)*vector3[i];

for every element of the vector without looping through the vectors myself. (with vectors of floats)