392 #if AF_API_VERSION >= 31 
 1180 #if AF_API_VERSION >= 31 
AFAPI af_err af_log2(af_array *out, const af_array in)
C Interface for logarithm base 2. 
AFAPI af_err af_bitshiftl(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for left shift on integer arrays. 
AFAPI af_err af_isnan(af_array *out, const af_array in)
C Interface for checking if values are NaNs. 
AFAPI array tgamma(const array &in)
C++ Interface for gamma function of input. 
AFAPI array round(const array &in)
C++ Interface for rounding an array of numbers. 
AFAPI array pow2(const array &in)
C++ Interface for power of 2. 
AFAPI af_err af_mod(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for modulus. 
AFAPI af_err af_cplx2(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for creating complex array from two input arrays. 
AFAPI af_err af_bitshiftr(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for right shift on integer arrays. 
Definition: algorithm.h:14
AFAPI af_err af_bitand(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for performing bitwise and on two arrays. 
AFAPI array arg(const array &in)
C++ Interface for arg. 
AFAPI array conjg(const array &in)
C++ Interface for getting the complex conjugate of input array. 
AFAPI af_err af_log10(af_array *out, const af_array in)
C Interface for logarithm base 10. 
AFAPI af_err af_floor(af_array *out, const af_array in)
C Interface for flooring an array of numbers. 
AFAPI array log1p(const array &in)
C++ Interface for natural logarithm of 1 + input. 
AFAPI af_err af_rem(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for remainder. 
AFAPI array mod(const array &lhs, const array &rhs)
C++ Interface for modulus when dividend and divisor are arrays or one of them is scalar. 
AFAPI array complex(const array &lhs, const array &rhs)
C++ Interface for creating complex array from two inputs. 
AFAPI af_err af_ceil(af_array *out, const af_array in)
C Interface for ceiling an array of numbers. 
AFAPI array root(const array &lhs, const array &rhs)
C++ Interface for nth root. 
AFAPI af_err af_sqrt(af_array *out, const af_array in)
C Interface for square root. 
AFAPI af_err af_imag(af_array *out, const af_array in)
C Interface for getting imaginary part from complex array. 
AFAPI af_err af_add(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for adding arrays. 
AFAPI array erfc(const array &in)
C++ Interface for complementary error function value. 
AFAPI af_err af_and(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for performing logical and on two arrays. 
AFAPI af_err af_pow(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for power. 
AFAPI array acos(const array &in)
C++ Interface for arc cos (cos inverse) 
AFAPI af_err af_asinh(af_array *out, const af_array in)
C Interface for asinh. 
AFAPI af_err af_expm1(af_array *out, const af_array in)
C Interface for exponential of an array minus 1. 
AFAPI array erf(const array &in)
C++ Interface for error function value. 
AFAPI af_err af_le(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for checking if an array is less or equal to another. 
AFAPI af_err af_sigmoid(af_array *out, const af_array in)
C Interface for calculating sigmoid function of an array. 
AFAPI af_err af_mul(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for multiplying two arrays. 
AFAPI array log10(const array &in)
C++ Interface for logarithm base 10. 
AFAPI af_err af_bitxor(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for performing bitwise xor on two arrays. 
AFAPI af_err af_sin(af_array *out, const af_array in)
C Interface for sin. 
AFAPI af_err af_trunc(af_array *out, const af_array in)
C Interface for truncating an array of numbers. 
AFAPI af_err af_sub(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for subtracting an array from another. 
AFAPI array trunc(const array &in)
C++ Interface for truncating an array of numbers. 
AFAPI array log2(const array &in)
C++ Interface for logarithm base 2. 
AFAPI af_err af_arg(af_array *out, const af_array in)
C Interface for finding the phase. 
AFAPI af_err af_round(af_array *out, const af_array in)
C Interface for rounding an array of numbers. 
AFAPI array asin(const array &in)
C++ Interface for arc sin (sin inverse) 
AFAPI af_err af_sinh(af_array *out, const af_array in)
C Interface for sinh. 
AFAPI af_err af_exp(af_array *out, const af_array in)
C Interface for exponential of an array. 
AFAPI af_err af_erfc(af_array *out, const af_array in)
C Interface for complementary error function value. 
AFAPI af_err af_log(af_array *out, const af_array in)
C Interface for natural logarithm. 
AFAPI af_err af_atan2(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for arc tan of two inputs. 
AFAPI array hypot(const array &lhs, const array &rhs)
C++ Interface for getting length of hypotenuse of two inputs. 
AFAPI af_err af_cplx(af_array *out, const af_array in)
C Interface for creating complex array from real array. 
AFAPI array lgamma(const array &in)
C++ Interface for logarithm of absolute value of gamma function of input. 
AFAPI af_err af_isinf(af_array *out, const af_array in)
C Interface for checking if values are infinities. 
AFAPI af_err af_lt(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for checking if an array is less than another. 
AFAPI af_err af_hypot(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for getting length of hypotenuse of two arrays. 
AFAPI af_err af_acosh(af_array *out, const af_array in)
C Interface for acosh. 
AFAPI array floor(const array &in)
C++ Interface for flooring an array of numbers. 
AFAPI af_err af_div(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for dividing an array by another. 
AFAPI array log(const array &in)
C++ Interface for natural logarithm. 
AFAPI array expm1(const array &in)
C++ Interface for exponential of an array minus 1. 
AFAPI array tan(const array &in)
C++ Interface for tan. 
af_err
Definition: defines.h:67
AFAPI af_err af_ge(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for checking if an array is greater or equal to another. 
AFAPI af_err af_sign(af_array *out, const af_array in)
C Interface for finding the sign of the input. 
AFAPI af_err af_atan(af_array *out, const af_array in)
C Interface for arc tan. 
AFAPI af_err af_eq(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for checking if an array is equal to another. 
AFAPI af_err af_real(af_array *out, const af_array in)
C Interface for getting real part from complex array. 
AFAPI af_err af_root(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for root. 
AFAPI af_err af_factorial(af_array *out, const af_array in)
C Interface for the factorial. 
AFAPI af_err af_neq(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for checking if an array is not equal to another. 
AFAPI af_err af_cosh(af_array *out, const af_array in)
C Interface for cosh. 
AFAPI array atan2(const array &lhs, const array &rhs)
C++ Interface for arc tan of two arrays. 
AFAPI array cbrt(const array &in)
C++ Interface for cube root of input. 
AFAPI af_err af_atanh(af_array *out, const af_array in)
C Interface for atanh. 
AFAPI array atan(const array &in)
C++ Interface for arc tan (tan inverse) 
AFAPI array max(const array &in, const int dim=-1)
C++ Interface for maximum values in an array. 
AFAPI af_err af_log1p(af_array *out, const af_array in)
C Interface for logarithm of (in + 1) 
AFAPI array imag(const array &in)
C++ Interface for getting imaginary part from complex array. 
AFAPI af_err af_lgamma(af_array *out, const af_array in)
C Interface for the logarithm of absolute values of gamma function. 
AFAPI af_err af_erf(af_array *out, const af_array in)
C Interface for error function value. 
AFAPI af_err af_asin(af_array *out, const af_array in)
C Interface for arc sin. 
AFAPI array real(const array &in)
C++ Interface for getting real part from complex array. 
AFAPI af_err af_pow2(af_array *out, const af_array in)
C Interface for power of two. 
AFAPI af_err af_iszero(af_array *out, const af_array in)
C Interface for checking if values are zero. 
AFAPI af_err af_gt(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for checking if an array is greater than another. 
#define AFAPI
Definition: defines.h:31
AFAPI array rem(const array &lhs, const array &rhs)
C++ Interface for remainder when array divides array, scalar divides array or array divides scalar...
AFAPI array isNaN(const array &in)
C++ Interface for checking if values are NaNs. 
AFAPI array isInf(const array &in)
C++ Interface for checking if values are Infinities. 
AFAPI array cos(const array &in)
C++ Interface for cos. 
AFAPI array abs(const array &in)
C++ Interface for absolute value. 
AFAPI array sign(const array &in)
C++ Interface for getting the sign of input. 
AFAPI array sinh(const array &in)
C++ Interface for sinh. 
static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)
Create an af::array object from an OpenCL cl_mem buffer. 
Definition: opencl.h:161
AFAPI af_err af_tan(af_array *out, const af_array in)
C Interface for tan. 
AFAPI array asinh(const array &in)
C++ Interface for sinh inverse. 
AFAPI array exp(const array &in)
C++ Interface for exponential of an array. 
AFAPI array factorial(const array &in)
C++ Interface for factorial of input. 
AFAPI array cosh(const array &in)
C++ Interface for cosh. 
AFAPI af_err af_acos(af_array *out, const af_array in)
C Interface for arc cos. 
AFAPI af_err af_minof(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for min of two arrays. 
AFAPI af_err af_conjg(af_array *out, const af_array in)
C Interface for getting the complex conjugate of input array. 
AFAPI array sqrt(const array &in)
C++ Interface for square root of input. 
AFAPI af_err af_bitor(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for performing bitwise or on two arrays. 
AFAPI af_err af_tgamma(af_array *out, const af_array in)
C Interface for the gamma function. 
AFAPI af_err af_cbrt(af_array *out, const af_array in)
C Interface for cube root. 
void * af_array
Definition: defines.h:219
AFAPI af_err af_maxof(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for max of two arrays. 
AFAPI af_err af_cos(af_array *out, const af_array in)
C Interface for cos. 
AFAPI array min(const array &in, const int dim=-1)
C++ Interface for minimum values in an array. 
AFAPI array acosh(const array &in)
C++ Interface for cosh inverse. 
AFAPI array atanh(const array &in)
C++ Interface for tanh inverse. 
AFAPI af_err af_cast(af_array *out, const af_array in, const af_dtype type)
C Interface for casting an array from one type to another. 
AFAPI array tanh(const array &in)
C++ Interface for tanh. 
AFAPI af_err af_tanh(af_array *out, const af_array in)
C Interface for tanh. 
AFAPI array sigmoid(const array &in)
C++ Interface for calculating sigmoid function of an array. 
AFAPI af_err af_abs(af_array *out, const af_array in)
C Interface for absolute value. 
AFAPI af_err af_not(af_array *out, const af_array in)
C Interface for performing logical not on input. 
af_dtype
Definition: defines.h:192
AFAPI array ceil(const array &in)
C++ Interface for ceiling an array of numbers. 
AFAPI array pow(const array &lhs, const array &rhs)
C++ Interface for power. 
AFAPI array sin(const array &in)
C++ Interface for sin. 
AFAPI array iszero(const array &in)
C++ Interface for checking if values are zero. 
AFAPI af_err af_or(af_array *out, const af_array lhs, const af_array rhs, const bool batch)
C Interface for performing logical or on two arrays.