Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

v?Pow3o2

Computes the square root of the cube of each vector element.

Syntax

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 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 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

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