title: CUBLAS - is matrix-element exponentiation possible?
body: <p>I'm using CUBLAS (Cuda Blas libraries) for matrix operations.</p>
  
  <p>Is possible to use CUBLAS to achieve the exponentiation/root mean square of a matrix items?</p>
  
  <p>I mean, having the 2x2 matrix</p>
  
  <pre><code>1 4
  9 16
  </code></pre>
  
  <p>What I want is a function to elevate to a given value e.g. 2</p>
  
  <pre><code>1 16
  81 256
  </code></pre>
  
  <p>and calculating the root mean square e.g.</p>
  
  <pre><code>1 2
  3 4
  </code></pre>
  
  <p>Is this possible with CUBLAS? I can't find a function suitable to this goal, but I'll ask here first to begin coding my own kernel.</p>