HP MLIB User's Guide Vol. 2 7th Ed.

Chapter 12 VMATH 831
The power function of corresponding elements of two vectors vsPow, vdPow
Name vsPow, vdPow
The power function of corresponding elements of two vectors
Purpose vsPow and vdPow calculate the power function of vector element pairs:
y[i] = pow(a[i],b[i]), for 0 <= i <= n-1
Usage VMATH:
#include <vmath.h>
void vsPow (int n, const float a[ ], const float b [ ], float y [ ] ) ;
void vdPow (int n, const double a [ ], const double b [ ], double y [ ] ) ;
VMATH8:
#include <vmath8.h>
void vsPow (long long n, const float a[ ], const float b[ ], float y [ ] ) ;
void vdPow (long long n, const double a [ ], const double b[ ], double
y [ ] ) ;
Input n Number of elements to be calculated.
a Array of length at least n, specifying the input vector of
bases.
b Array of length at least n, specifying the input vector of
exponents.
Output y Array of length at least n, specifying the output vector.