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.
 
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.
 

Detailed Description

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

Note
This function supports real inputs only. 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
Returns
AF_SUCCESS if the execution completes properly

◆ 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