title: Elementwise power operation using CUDA Thrust
body: <p>Is there a way of transforming a thrust vector with a <code>pow</code> function? In other words, I want to transform each element <code>x</code> of a vector to <code>pow(x,a)</code>, with <code>a</code> a constant.</p>