Intel® Math Kernel Library 2019 Developer Reference - C

v?Cbrt

Computes a cube root of vector elements.

Syntax

vsCbrt( n, a, y );

vmsCbrt( n, a, y, mode );

vdCbrt( n, a, y );

vmdCbrt( n, a, y, mode );

Include Files

Input Parameters

Name

Type

Description

n

const MKL_INT

Specifies the number of elements to be calculated.

a

const float* for vsCbrt, vmsCbrt

const double* for vdCbrt, vmdCbrt

Pointer to an array that contains the input vector a.

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 vsCbrt, vmsCbrt

double* for vdCbrt, vmdCbrt

Pointer to an array that contains the output vector y.

Description

The v?Cbrt function computes a cube root of vector elements.

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