A high-performance general-purpose compute library

Evaluate the error function. More...

Functions

AFAPI array erf (const array &in)
 C++ Interface to evaluate the error function. More...
 
AFAPI af_err af_erf (af_array *out, const af_array in)
 C Interface to evaluate the error function. More...
 

Detailed Description

Evaluate the error function.

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

Function Documentation

◆ af_erf()

AFAPI af_err af_erf ( af_array out,
const af_array  in 
)

C Interface to evaluate the error function.

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

◆ erf()

AFAPI array erf ( const array in)

C++ Interface to evaluate the error function.

Parameters
[in]ininput array
Returns
error function