A high-performance general-purpose compute library

Functions

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

Detailed Description

Evaluate the cube root.

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

Function Documentation

◆ af_cbrt()

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

array cbrt ( const array & in)

C++ Interface to evaluate the cube root.

Parameters
[in]ininput
Returns
cube root