A high-performance general-purpose compute library

Evaluate the cube root. More...

Functions

AFAPI array cbrt (const array &in)
 C++ Interface to evaluate the cube root. More...
 
AFAPI af_err af_cbrt (af_array *out, const af_array in)
 C Interface to evaluate the cube root. More...
 

Detailed Description

Evaluate the cube root.

Note
This function only supports real inputs; complex inputs are not yet supported.

Function Documentation

◆ af_cbrt()

AFAPI af_err af_cbrt ( af_array out,
const af_array  in 
)

C Interface to evaluate the cube root.

Parameters
[out]outcube root
[in]ininput array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ cbrt()

AFAPI array cbrt ( const array in)

C++ Interface to evaluate the cube root.

Parameters
[in]ininput
Returns
cube root