title: Vectorized power function in armadillo
body: <p>The armadillo library has a function <code>pow(A, p)</code> to raise all elements of vector/matrix <code>A</code> to the power <code>p</code>.  Is there a function in armadillo, std, or elsewhere that performs element-wise  power?  That is, raises each element in vector <code>A</code> to the corresponding power in vector <code>p</code>?</p>