A high-performance general-purpose compute library

Evaluate the logarithm of the absolute value of the gamma function. More...

Functions

AFAPI array lgamma (const array &in)
 C++ Interface to evaluate the logarithm of the absolute value of the gamma function. More...
 
AFAPI af_err af_lgamma (af_array *out, const af_array in)
 C Interface to evaluate the logarithm of the absolute value of the gamma function. More...
 

Detailed Description

Evaluate the logarithm of the absolute value of the gamma function.

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

Function Documentation

◆ af_lgamma()

AFAPI af_err af_lgamma ( af_array out,
const af_array  in 
)

C Interface to evaluate the logarithm of the absolute value of the gamma function.

Parameters
[out]outlogarithm of the absolute value of the gamma function
[in]ininput array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ lgamma()

AFAPI array lgamma ( const array in)

C++ Interface to evaluate the logarithm of the absolute value of the gamma function.

Parameters
[in]ininput
Returns
logarithm of the absolute value of the gamma function