Developer Reference for Intel® oneAPI Math Kernel Library for C
A newer version of this document is available. Customers should click here to go to the newest version.
v?Pow3o2
vsPow3o2 vdPow3o2 vmsPow3o2 vmdPow3o2 Computes the square root of the cube of each vector element.
Syntax
vhPow3o2 ( n , a , y ) ;
vhPow3o2I(n, a, inca, y, incy);
vmhPow3o2 ( n , a , y , mode ) ;
vmhPow3o2I(n, a, inca, y, incy, mode);
vsPow3o2 ( n , a , y ) ;
vsPow3o2I(n, a, inca, y, incy);
vmsPow3o2 ( n , a , y , mode ) ;
vmsPow3o2I(n, a, inca, y, incy, mode);
vdPow3o2 ( n , a , y ) ;
vdPow3o2I(n, a, inca, y, incy);
vmdPow3o2 ( n , a , y , mode ) ;
vmdPow3o2I(n, a, inca, y, incy, mode);
Include Files
mkl.h
Input Parameters
Name |
Type |
Description |
|---|---|---|
n |
const MKL_INT |
Specifies the number of elements to be calculated. |
a |
const _Float16* for vhPow3o2 , vmhPow3o2 const float* for vsPow3o2 , vmsPow3o2 const double* for vdPow3o2 , vmdPow3o2 |
Pointers to arrays that contain the input vector a . |
inca , incy |
const MKL_INT |
Specifies increments for the elements of a and y . |
mode |
const MKL_INT64 |
Overrides global VM mode setting for this function call. See vmlSetMode (Sets a new mode for VM functions according to the mode parameter and stores the previous VM mode to oldmode.) for possible values and their description. |
Precision Overflow Thresholds for Pow3o2 Function
Data Type |
Threshold Limitations on Input Parameters |
|---|---|
single precision |
abs(a[i]) < ( FLT_MAX )^{2/3} |
double precision |
abs(a[i]) < ( DBL_MAX )^{2/3} |
Output Parameters
Name |
Type |
Description |
|---|---|---|
y |
_Float16* for vhPow3o2 , vmhPow3o2 float* for vsPow3o2 , vmsPow3o2 double* for vdPow3o2 , vmdPow3o2 |
Pointer to an array that contains the output vector y . |
Description
The v?Pow3o2 function computes the square root of the cube of each vector element.
Special Values for Real Function v?Pow3o2(x)
Argument |
Result |
VM Error Status |
Exception |
|---|---|---|---|
X < +0 |
QNAN |
VML_STATUS_ERRDOM |
INVALID |
+0 |
+0 |
||
-0 |
-0 |
||
|
QNAN |
VML_STATUS_ERRDOM |
INVALID |
|
|
||
QNAN |
QNAN |
||
SNAN |
QNAN |
INVALID |