Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 12/16/2022
Public

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

Document Table of Contents

v?Pow2o3

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

Syntax

vsPow2o3( n, a, y );

vsPow2o3I(n, a, inca, y, incy);

vmsPow2o3( n, a, y, mode );

vmsPow2o3I(n, a, inca, y, incy, mode);

vdPow2o3( n, a, y );

vdPow2o3I(n, a, inca, y, incy);

vmdPow2o3( n, a, y, mode );

vmdPow2o3I(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 vsPow2o3, vmsPow2o3

const double* for vdPow2o3, vmdPow2o3

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.

Output Parameters

Name

Type

Description

y

float* for vsPow2o3, vmsPow2o3

double* for vdPow2o3, vmdPow2o3

Pointer to an array that contains the output vector y.

Description

The v?Pow2o3 function computes the cube root of the square of each vector element.

Special Values for Real Function v?Pow2o3(x)
Argument Result Exception
+0 +0  
-0 +0  
+ +  
- +  
QNAN QNAN  
SNAN QNAN INVALID