Transform elements in a vector to some constant to the power of the corresponding element
I am using the Eigen library. I want to transform each element in a vector to some constant to the power of the corresponding element from the vector. Example: