Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 6/24/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?InvCbrt

Computes an inverse cube root of vector elements.

Syntax

vhInvCbrt( n, a, y );

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

vmhInvCbrt( n, a, y, mode );

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

vsInvCbrt( n, a, y );

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

vmsInvCbrt( n, a, y, mode );

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

vdInvCbrt( n, a, y );

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

vmdInvCbrt( n, a, y, mode );

vmdInvCbrtI(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 vhInvCbrt, vmhInvCbrt

const float* for vsInvCbrt, vmsInvCbrt

const double* for vdInvCbrt, vmdInvCbrt

Pointer to an array that contains 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

_Float16* for vhInvCbrt, vmhInvCbrt

float* for vsInvCbrt, vmsInvCbrt

double* for vdInvCbrt, vmdInvCbrt

Pointer to an array that contains the output vector y.

Description

The v?InvCbrt function computes an inverse cube root of vector elements.

Special Values for Real Function v?InvCbrt(x)
Argument Result VM Error Status Exception
+0 + VML_STATUS_SING ZERODIVIDE
-0 - VML_STATUS_SING ZERODIVIDE
+ +0    
- -0    
QNAN QNAN    
SNAN QNAN   INVALID