Cube root of input arrays. More...

Functions

AFAPI array cbrt (const array &in)
 C++ Interface for cube root of input. More...
 
AFAPI af_err af_cbrt (af_array *out, const af_array in)
 C Interface for cube root. More...
 

Detailed Description

Cube root of input arrays.

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

Function Documentation

◆ af_cbrt()

AFAPI af_err af_cbrt ( af_array out,
const af_array  in 
)

C Interface for cube root.

Parameters
[out]outwill contain the cube root of in
[in]inis input
Returns
AF_SUCCESS if the execution completes properly

◆ cbrt()

AFAPI array af::cbrt ( const array in)

C++ Interface for cube root of input.

Parameters
[in]inis input
Returns
the cube root of input