ArrayFire: log (original) (raw)

Evaluate the natural logarithm. More...

Functions
AFAPI array log (const array &in)
C++ Interface to evaluate the natural logarithm. More...
AFAPI af_err af_log (af_array *out, const af_array in)
C Interface to evaluate the natural logarithm. More...

Evaluate the natural logarithm.

af_log()

C Interface to evaluate the natural logarithm.

Parameters

[out] out natural logarithm
[in] in input array

Returns

AF_SUCCESS, if function returns successfully, else an af_err code is given

C++ Interface to evaluate the natural logarithm.

Parameters

Returns

natural logarithm