A high-performance general-purpose compute library
af Namespace Reference

Data Structures

struct  af_cdouble
 
struct  af_cfloat
 
class  array
 A multi dimensional data container. More...
 
class  dim4
 Generic object that represents size and shape. More...
 
struct  dtype_traits
 
struct  dtype_traits< af::cdouble >
 
struct  dtype_traits< af::cfloat >
 
struct  dtype_traits< char >
 
struct  dtype_traits< double >
 
struct  dtype_traits< float >
 
struct  dtype_traits< half >
 
struct  dtype_traits< int >
 
struct  dtype_traits< long long >
 
struct  dtype_traits< short >
 
struct  dtype_traits< std::complex< double > >
 
struct  dtype_traits< std::complex< float > >
 
struct  dtype_traits< unsigned >
 
struct  dtype_traits< unsigned char >
 
struct  dtype_traits< unsigned long long >
 
struct  dtype_traits< unsigned short >
 
class  event
 C++ RAII interface for manipulating events. More...
 
class  exception
 An ArrayFire exception class. More...
 
class  features
 Represents a feature returned by a feature detector. More...
 
class  index
 Wrapper for af_index. More...
 
class  randomEngine
 C++ Interface - Random Number Generation Engine Class. More...
 
class  seq
 seq is used to create sequences for indexing af::array More...
 
struct  timer
 Internal timer object. More...
 
class  Window
 Window object to render af::arrays. More...
 

Typedefs

typedef struct af::af_cfloat af_cfloat
 
typedef struct af::af_cdouble af_cdouble
 
typedef af::af_cfloat cfloat
 
typedef af::af_cdouble cdouble
 
typedef af_dtype dtype
 
typedef af_source source
 
typedef af_interp_type interpType
 
typedef af_border_type borderType
 
typedef af_connectivity connectivity
 
typedef af_match_type matchType
 
typedef af_cspace_t CSpace
 
typedef af_someenum_t SomeEnum
 
typedef af_mat_prop trans
 
typedef af_conv_mode convMode
 
typedef af_conv_domain convDomain
 
typedef af_mat_prop matProp
 
typedef af_colormap ColorMap
 
typedef af_norm_type normType
 
typedef af_ycc_std YCCStd
 
typedef af_image_format imageFormat
 
typedef af_backend Backend
 
typedef af_marker_type markerType
 
typedef af_moment_type momentType
 
typedef af_storage storage
 
typedef af_binary_op binaryOp
 
typedef af_random_engine_type randomEngineType
 
typedef af_canny_threshold cannyThreshold
 
typedef af_flux_function fluxFunction
 
typedef af_diffusion_eq diffusionEq
 
typedef af_topk_function topkFunction
 
typedef af_var_bias varBias
 
typedef af_iterative_deconv_algo iterativeDeconvAlgo
 
typedef af_inverse_deconv_algo inverseDeconvAlgo
 
typedef af_conv_gradient_type convGradientType
 
typedef array(* batchFunc_t) (const array &lhs, const array &rhs)
 
typedef af_half half
 
typedef struct af::timer timer
 Internal timer object. More...
 

Functions

AFAPI array sum (const array &in, const int dim=-1)
 C++ Interface to sum array elements over a given dimension. More...
 
AFAPI array sum (const array &in, const int dim, const double nanval)
 C++ Interface to sum array elements over a given dimension, replacing any NaNs with a specified value. More...
 
AFAPI void sumByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to sum array elements over a given dimension, according to an array of keys. More...
 
AFAPI void sumByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim, const double nanval)
 C++ Interface to sum array elements over a given dimension, replacing any NaNs with a specified value, according to an array of keys. More...
 
AFAPI array product (const array &in, const int dim=-1)
 C++ Interface to multiply array elements over a given dimension. More...
 
AFAPI array product (const array &in, const int dim, const double nanval)
 C++ Interface to multiply array elements over a given dimension, replacing any NaNs with a specified value. More...
 
AFAPI void productByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to multiply array elements over a given dimension, according to an array of keys. More...
 
AFAPI void productByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim, const double nanval)
 C++ Interface to multiply array elements over a given dimension, replacing any NaNs with a specified value, according to an array of keys. More...
 
AFAPI array min (const array &in, const int dim=-1)
 C++ Interface to return the minimum along a given dimension. More...
 
AFAPI void minByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to return the minimum along a given dimension, according to an array of keys. More...
 
AFAPI array max (const array &in, const int dim=-1)
 C++ Interface to return the maximum along a given dimension. More...
 
AFAPI void maxByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to return the maximum along a given dimension, according to an array of keys. More...
 
AFAPI void max (array &val, array &idx, const array &in, const array &ragged_len, const int dim)
 C++ Interface to return the ragged maximum along a given dimension. More...
 
AFAPI array allTrue (const array &in, const int dim=-1)
 C++ Interface to check if all values along a given dimension are true. More...
 
AFAPI void allTrueByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to check if all values along a given dimension are true, according to an array of keys. More...
 
AFAPI array anyTrue (const array &in, const int dim=-1)
 C++ Interface to check if any values along a given dimension are true. More...
 
AFAPI void anyTrueByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to check if any values along a given dimension are true, according to an array of keys. More...
 
AFAPI array count (const array &in, const int dim=-1)
 C++ Interface to count non-zero values in an array along a given dimension. More...
 
AFAPI void countByKey (array &keys_out, array &vals_out, const array &keys, const array &vals, const int dim=-1)
 C++ Interface to count non-zero values in an array, according to an array of keys. More...
 
template<typename T >
sum (const array &in)
 C++ Interface to sum array elements over all dimensions. More...
 
template<typename T >
sum (const array &in, double nanval)
 C++ Interface to sum array elements over all dimensions, replacing any NaNs with a specified value. More...
 
template<typename T >
product (const array &in)
 C++ Interface to multiply array elements over the first non-singleton dimension. More...
 
template<typename T >
product (const array &in, double nanval)
 C++ Interface to multiply array elements over the first non-singleton dimension, replacing any NaNs with a specified value. More...
 
template<typename T >
min (const array &in)
 C++ Interface to return the minimum along the first non-singleton dimension. More...
 
template<typename T >
max (const array &in)
 C++ Interface to return the maximum along the first non-singleton dimension. More...
 
template<typename T >
allTrue (const array &in)
 C++ Interface to check if all values along the first non-singleton dimension are true. More...
 
template<typename T >
anyTrue (const array &in)
 C++ Interface to check if any values along the first non-singleton dimension are true. More...
 
template<typename T >
count (const array &in)
 C++ Interface to count non-zero values along the first non-singleton dimension. More...
 
AFAPI void min (array &val, array &idx, const array &in, const int dim=-1)
 C++ Interface to return the minimum and its location along a given dimension. More...
 
AFAPI void max (array &val, array &idx, const array &in, const int dim=-1)
 C++ Interface to return the maximum and its location along a given dimension. More...
 
template<typename T >
void min (T *val, unsigned *idx, const array &in)
 C++ Interface to return the minimum and its location over all dimensions. More...
 
template<typename T >
void max (T *val, unsigned *idx, const array &in)
 C++ Interface to return the maximum and its location over all dimensions. More...
 
AFAPI array accum (const array &in, const int dim=0)
 C++ Interface to evaluate the cumulative sum (inclusive) along a given dimension. More...
 
AFAPI array scan (const array &in, const int dim=0, binaryOp op=AF_BINARY_ADD, bool inclusive_scan=true)
 C++ Interface to scan an array (generalized) over a given dimension. More...
 
AFAPI array scanByKey (const array &key, const array &in, const int dim=0, binaryOp op=AF_BINARY_ADD, bool inclusive_scan=true)
 C++ Interface to scan an array (generalized) over a given dimension, according to an array of keys. More...
 
AFAPI array where (const array &in)
 C++ Interface to locate the indices of the non-zero values in an array. More...
 
AFAPI array diff1 (const array &in, const int dim=0)
 C++ Interface to calculate the first order difference in an array over a given dimension. More...
 
AFAPI array diff2 (const array &in, const int dim=0)
 C++ Interface to calculate the second order difference in an array over a given dimension. More...
 
AFAPI array sort (const array &in, const unsigned dim=0, const bool isAscending=true)
 C++ Interface to sort an array over a given dimension. More...
 
AFAPI void sort (array &out, array &indices, const array &in, const unsigned dim=0, const bool isAscending=true)
 C++ Interface to sort an array over a given dimension and to return the original indices. More...
 
AFAPI void sort (array &out_keys, array &out_values, const array &keys, const array &values, const unsigned dim=0, const bool isAscending=true)
 C++ Interface to sort an array over a given dimension, according to an array of keys. More...
 
AFAPI array setUnique (const array &in, const bool is_sorted=false)
 C++ Interface to return the unique values in an array. More...
 
AFAPI array setUnion (const array &first, const array &second, const bool is_unique=false)
 C++ Interface to evaluate the union of two arrays. More...
 
AFAPI array setIntersect (const array &first, const array &second, const bool is_unique=false)
 C++ Interface to evaluate the intersection of two arrays. More...
 
AFAPI array min (const array &lhs, const array &rhs)
 C++ Interface to find the elementwise minimum between two arrays. More...
 
AFAPI array min (const array &lhs, const double rhs)
 C++ Interface to find the elementwise minimum between an array and a scalar value. More...
 
AFAPI array min (const double lhs, const array &rhs)
 C++ Interface to find the elementwise minimum between an array and a scalar value. More...
 
AFAPI array max (const array &lhs, const array &rhs)
 C++ Interface to find the elementwise maximum between two arrays. More...
 
AFAPI array max (const array &lhs, const double rhs)
 C++ Interface to find the elementwise maximum between an array and a scalar value. More...
 
AFAPI array max (const double lhs, const array &rhs)
 C++ Interface to find the elementwise maximum between an array and a scalar value. More...
 
AFAPI array abs (const array &in)
 C++ Interface to calculate the absolute value. More...
 
AFAPI array arg (const array &in)
 C++ Interface to calculate the phase angle (in radians) of a complex array. More...
 
AFAPI array sign (const array &in)
 C++ Interface to return the sign of elements in an array. More...
 
AFAPI array round (const array &in)
 C++ Interface to round numbers. More...
 
AFAPI array trunc (const array &in)
 C++ Interface to truncate numbers. More...
 
AFAPI array floor (const array &in)
 C++ Interface to floor numbers. More...
 
AFAPI array ceil (const array &in)
 C++ Interface to ceil numbers. More...
 
AFAPI array sin (const array &in)
 C++ Interface to evaluate the sine function. More...
 
AFAPI array cos (const array &in)
 C++ Interface to evaluate the cosine function. More...
 
AFAPI array tan (const array &in)
 C++ Interface to evaluate the tangent function. More...
 
AFAPI array asin (const array &in)
 C++ Interface to evaluate the inverse sine function. More...
 
AFAPI array acos (const array &in)
 C++ Interface to evaluate the inverse cosine function. More...
 
AFAPI array atan (const array &in)
 C++ Interface to evaluate the inverse tangent function. More...
 
AFAPI array sinh (const array &in)
 C++ Interface to evaluate the hyperbolic sine function. More...
 
AFAPI array cosh (const array &in)
 C++ Interface to evaluate the hyperbolic cosine function. More...
 
AFAPI array tanh (const array &in)
 C++ Interface to evaluate the hyperbolic tangent function. More...
 
AFAPI array asinh (const array &in)
 C++ Interface to evaluate the inverse hyperbolic sine function. More...
 
AFAPI array acosh (const array &in)
 C++ Interface to evaluate the inverse hyperbolic cosine function. More...
 
AFAPI array atanh (const array &in)
 C++ Interface to evaluate the inverse hyperbolic tangent function. More...
 
AFAPI array real (const array &in)
 C++ Interface to return the real part of a complex array. More...
 
AFAPI array imag (const array &in)
 C++ Interface to return the imaginary part of a complex array. More...
 
AFAPI array conjg (const array &in)
 C++ Interface to calculate the complex conjugate of an input array. More...
 
AFAPI array root (const array &nth_root, const array &value)
 C++ Interface to evaluate the nth root. More...
 
AFAPI array root (const array &nth_root, const double value)
 C++ Interface to evaluate the nth root. More...
 
AFAPI array root (const double nth_root, const array &value)
 C++ Interface to evaluate the nth root. More...
 
AFAPI array sigmoid (const array &in)
 C++ Interface to evaluate the logistical sigmoid function. More...
 
AFAPI array exp (const array &in)
 C++ Interface to evaluate the exponential. More...
 
AFAPI array expm1 (const array &in)
 C++ Interface to evaluate the exponential of an array minus 1, exp(in) - 1. More...
 
AFAPI array erf (const array &in)
 C++ Interface to evaluate the error function. More...
 
AFAPI array erfc (const array &in)
 C++ Interface to evaluate the complementary error function. More...
 
AFAPI array log (const array &in)
 C++ Interface to evaluate the natural logarithm. More...
 
AFAPI array log1p (const array &in)
 C++ Interface to evaluate the natural logarithm of 1 + input, ln(1+in). More...
 
AFAPI array log10 (const array &in)
 C++ Interface to evaluate the base 10 logarithm. More...
 
AFAPI array log2 (const array &in)
 C++ Interface to evaluate the base 2 logarithm. More...
 
AFAPI array sqrt (const array &in)
 C++ Interface to evaluate the square root. More...
 
AFAPI array rsqrt (const array &in)
 C++ Interface to evaluate the reciprocal square root. More...
 
AFAPI array cbrt (const array &in)
 C++ Interface to evaluate the cube root. More...
 
AFAPI array factorial (const array &in)
 C++ Interface to calculate the factorial. More...
 
AFAPI array tgamma (const array &in)
 C++ Interface to evaluate the gamma function. More...
 
AFAPI array lgamma (const array &in)
 C++ Interface to evaluate the logarithm of the absolute value of the gamma function. More...
 
AFAPI array iszero (const array &in)
 C++ Interface to check which values are zero. More...
 
AFAPI array isInf (const array &in)
 C++ Interface to check if values are infinite. More...
 
AFAPI array isNaN (const array &in)
 C++ Interface to check if values are NaN. More...
 
AFAPI void setBackend (const Backend bknd)
 
AFAPI unsigned getBackendCount ()
 
AFAPI int getAvailableBackends ()
 Returns a flag of all available backends. More...
 
AFAPI af::Backend getBackendId (const array &in)
 
AFAPI af::Backend getActiveBackend ()
 
AFAPI int getDeviceId (const array &in)
 
AFAPI array matmul (const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
 C++ Interface to multiply two matrices. More...
 
AFAPI array matmulNT (const array &lhs, const array &rhs)
 C++ Interface to multiply two matrices. More...
 
AFAPI array matmulTN (const array &lhs, const array &rhs)
 C++ Interface to multiply two matrices. More...
 
AFAPI array matmulTT (const array &lhs, const array &rhs)
 C++ Interface to multiply two matrices. More...
 
AFAPI array matmul (const array &a, const array &b, const array &c)
 C++ Interface to chain multiply three matrices. More...
 
AFAPI array matmul (const array &a, const array &b, const array &c, const array &d)
 C++ Interface to chain multiply three matrices. More...
 
template<typename T >
dot (const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
 C++ Interface to compute the dot product. More...
 
AFAPI array dot (const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
 
AFAPI array transpose (const array &in, const bool conjugate=false)
 C++ Interface to transpose a matrix. More...
 
AFAPI void transposeInPlace (array &in, const bool conjugate=false)
 C++ Interface to transpose a matrix in-place. More...
 
AFAPI int devicecount ()
 
AFAPI int deviceget ()
 
AFAPI void deviceset (const int device)
 
AFAPI array loadimage (const char *filename, const bool is_color=false)
 
AFAPI void saveimage (const char *filename, const array &in)
 
AFAPI array gaussiankernel (const int rows, const int cols, const double sig_r=0, const double sig_c=0)
 
template<typename T >
alltrue (const array &in)
 
template<typename T >
anytrue (const array &in)
 
AFAPI array alltrue (const array &in, const int dim=-1)
 
AFAPI array anytrue (const array &in, const int dim=-1)
 
AFAPI array setunique (const array &in, const bool is_sorted=false)
 
AFAPI array setunion (const array &first, const array &second, const bool is_unique=false)
 
AFAPI array setintersect (const array &first, const array &second, const bool is_unique=false)
 
AFAPI array histequal (const array &in, const array &hist)
 
AFAPI array colorspace (const array &image, const CSpace to, const CSpace from)
 
AFAPI array filter (const array &image, const array &kernel)
 Image Filtering. More...
 
AFAPI array mul (const array &in, const int dim=-1)
 
template<typename T >
mul (const array &in)
 
AFAPI void deviceprop (char *d_name, char *d_platform, char *d_toolkit, char *d_compute)
 
AFAPI float real (af_cfloat val)
 
AFAPI double real (af_cdouble val)
 
AFAPI float imag (af_cfloat val)
 
AFAPI double imag (af_cdouble val)
 
AFAPI af::cfloat operator+ (const af::cfloat &lhs, const af::cfloat &rhs)
 
AFAPI af::cdouble operator+ (const af::cdouble &lhs, const af::cdouble &rhs)
 
AFAPI af::cfloat operator- (const af::cfloat &lhs, const af::cfloat &rhs)
 
AFAPI af::cdouble operator- (const af::cdouble &lhs, const af::cdouble &rhs)
 
AFAPI af::cfloat operator* (const af::cfloat &lhs, const af::cfloat &rhs)
 
AFAPI af::cdouble operator* (const af::cdouble &lhs, const af::cdouble &rhs)
 
AFAPI af::cfloat operator/ (const af::cfloat &lhs, const af::cfloat &rhs)
 
AFAPI af::cdouble operator/ (const af::cdouble &lhs, const af::cdouble &rhs)
 
AFAPI af::cfloat operator+ (const af::cfloat &lhs, const double &rhs)
 
AFAPI af::cdouble operator+ (const af::cdouble &lhs, const double &rhs)
 
AFAPI af::cfloat operator/ (const af::cfloat &lhs, const double &rhs)
 
AFAPI af::cdouble operator/ (const af::cdouble &lhs, const double &rhs)
 
AFAPI af::cfloat operator- (const af::cfloat &lhs, const double &rhs)
 
AFAPI af::cdouble operator- (const af::cdouble &lhs, const double &rhs)
 
AFAPI af::cfloat operator* (const af::cfloat &lhs, const double &rhs)
 
AFAPI af::cdouble operator* (const af::cdouble &lhs, const double &rhs)
 
AFAPI af::cfloat operator+ (const double &rhs, const af::cfloat &lhs)
 
AFAPI af::cdouble operator+ (const double &rhs, const af::cdouble &lhs)
 
AFAPI af::cdouble operator+ (const af::cfloat &lhs, const af::cdouble &rhs)
 
AFAPI af::cdouble operator+ (const af::cdouble &lhs, const af::cfloat &rhs)
 
AFAPI af::cfloat operator- (const double &rhs, const af::cfloat &lhs)
 
AFAPI af::cdouble operator- (const double &rhs, const af::cdouble &lhs)
 
AFAPI af::cdouble operator- (const af::cfloat &lhs, const af::cdouble &rhs)
 
AFAPI af::cdouble operator- (const af::cdouble &lhs, const af::cfloat &rhs)
 
AFAPI af::cfloat operator* (const double &rhs, const af::cfloat &lhs)
 
AFAPI af::cdouble operator* (const double &rhs, const af::cdouble &lhs)
 
AFAPI af::cdouble operator* (const af::cfloat &lhs, const af::cdouble &rhs)
 
AFAPI af::cdouble operator* (const af::cdouble &lhs, const af::cfloat &rhs)
 
AFAPI af::cfloat operator/ (const double &rhs, const af::cfloat &lhs)
 
AFAPI af::cdouble operator/ (const double &rhs, const af::cdouble &lhs)
 
AFAPI af::cdouble operator/ (const af::cfloat &lhs, const af::cdouble &rhs)
 
AFAPI af::cdouble operator/ (const af::cdouble &lhs, const af::cfloat &rhs)
 
AFAPI bool operator== (const cfloat &lhs, const cfloat &rhs)
 
AFAPI bool operator== (const cdouble &lhs, const cdouble &rhs)
 
AFAPI bool operator!= (const cfloat &lhs, const cfloat &rhs)
 
AFAPI bool operator!= (const cdouble &lhs, const cdouble &rhs)
 
AFAPI std::istream & operator>> (std::istream &is, cfloat &in)
 
AFAPI std::istream & operator>> (std::istream &is, cdouble &in)
 
AFAPI std::ostream & operator<< (std::ostream &os, const cfloat &in)
 
AFAPI std::ostream & operator<< (std::ostream &os, const cdouble &in)
 
AFAPI float abs (const cfloat &val)
 
AFAPI double abs (const cdouble &val)
 
AFAPI cfloat conj (const cfloat &val)
 
AFAPI cdouble conj (const cdouble &val)
 
template<typename T >
array constant (T val, const dim4 &dims, const dtype ty=(af_dtype) dtype_traits< T >::ctype)
 C++ Interface to generate an array with elements set to a specified value. More...
 
template<typename T >
array constant (T val, const dim_t d0, const af_dtype ty=(af_dtype) dtype_traits< T >::ctype)
 C++ Interface to generate a 1-D array with elements set to a specified value. More...
 
template<typename T >
array constant (T val, const dim_t d0, const dim_t d1, const af_dtype ty=(af_dtype) dtype_traits< T >::ctype)
 C++ Interface to generate a 2-D array with elements set to a specified value. More...
 
template<typename T >
array constant (T val, const dim_t d0, const dim_t d1, const dim_t d2, const af_dtype ty=(af_dtype) dtype_traits< T >::ctype)
 C++ Interface to generate a 3-D array with elements set to a specified value. More...
 
template<typename T >
array constant (T val, const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, const af_dtype ty=(af_dtype) dtype_traits< T >::ctype)
 C++ Interface to generate a 4-D array with elements set to a specified value. More...
 
AFAPI array identity (const dim4 &dims, const dtype ty=f32)
 C++ Interface to generate an identity array. More...
 
AFAPI array identity (const dim_t d0, const dtype ty=f32)
 C++ Interface to generate a 1-D identity array. More...
 
AFAPI array identity (const dim_t d0, const dim_t d1, const dtype ty=f32)
 C++ Interface to generate a 2-D identity array. More...
 
AFAPI array identity (const dim_t d0, const dim_t d1, const dim_t d2, const dtype ty=f32)
 C++ Interface to generate a 3-D identity array. More...
 
AFAPI array identity (const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, const dtype ty=f32)
 C++ Interface to generate a 4-D identity array. More...
 
AFAPI array range (const dim4 &dims, const int seq_dim=-1, const dtype ty=f32)
 C++ Interface to generate an array with [0, n-1] values along the seq_dim dimension and tiled across other dimensions of shape dim4. More...
 
AFAPI array range (const dim_t d0, const dim_t d1=1, const dim_t d2=1, const dim_t d3=1, const int seq_dim=-1, const dtype ty=f32)
 C++ Interface to generate an array with [0, n-1] values along the seq_dim dimension and tiled across other dimensions described by dimension parameters. More...
 
AFAPI array iota (const dim4 &dims, const dim4 &tile_dims=dim4(1), const dtype ty=f32)
 C++ Interface to generate an array with [0, n-1] values modified to specified dimensions and tiling. More...
 
AFAPI array diag (const array &in, const int num=0, const bool extract=true)
 C++ Interface to extract the diagonal from an array. More...
 
AFAPI array join (const int dim, const array &first, const array &second)
 C++ Interface to join 2 arrays along a dimension. More...
 
AFAPI array join (const int dim, const array &first, const array &second, const array &third)
 C++ Interface to join 3 arrays along a dimension. More...
 
AFAPI array join (const int dim, const array &first, const array &second, const array &third, const array &fourth)
 C++ Interface to join 4 arrays along a dimension. More...
 
AFAPI array tile (const array &in, const unsigned x, const unsigned y=1, const unsigned z=1, const unsigned w=1)
 C++ Interface to generate a tiled array. More...
 
AFAPI array tile (const array &in, const dim4 &dims)
 C++ Interface to generate a tiled array. More...
 
AFAPI array reorder (const array &in, const unsigned x, const unsigned y=1, const unsigned z=2, const unsigned w=3)
 C++ Interface to reorder an array. More...
 
AFAPI array shift (const array &in, const int x, const int y=0, const int z=0, const int w=0)
 C++ Interface to shift an array. More...
 
AFAPI array moddims (const array &in, const dim4 &dims)
 C++ Interface to modify the dimensions of an input array to a specified shape. More...
 
AFAPI array moddims (const array &in, const dim_t d0, const dim_t d1=1, const dim_t d2=1, const dim_t d3=1)
 C++ Interface to modify the dimensions of an input array to a specified shape. More...
 
AFAPI array moddims (const array &in, const unsigned ndims, const dim_t *const dims)
 C++ Interface to modify the dimensions of an input array to a specified shape. More...
 
AFAPI array flat (const array &in)
 C++ Interface to flatten an array. More...
 
AFAPI array flip (const array &in, const unsigned dim)
 C++ Interface to flip an array. More...
 
AFAPI array lower (const array &in, bool is_unit_diag=false)
 C++ Interface to return the lower triangle array. More...
 
AFAPI array upper (const array &in, bool is_unit_diag=false)
 C++ Interface to return the upper triangle array. More...
 
AFAPI array select (const array &cond, const array &a, const array &b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI array select (const array &cond, const array &a, const double &b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI array select (const array &cond, const double &a, const array &b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI void replace (array &a, const array &cond, const array &b)
 C++ Interface to replace elements of an array with elements of another array. More...
 
AFAPI void replace (array &a, const array &cond, const double &b)
 C++ Interface to replace elements of an array with a scalar value. More...
 
AFAPI array pad (const array &in, const dim4 &beginPadding, const dim4 &endPadding, const borderType padFillType)
 C++ Interface to pad an array. More...
 
AFAPI void replace (array &a, const array &cond, const long long b)
 C++ Interface to replace elements of an array with a scalar value. More...
 
AFAPI void replace (array &a, const array &cond, const unsigned long long b)
 C++ Interface to replace elements of an array with a scalar value. More...
 
AFAPI array select (const array &cond, const array &a, const long long b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI array select (const array &cond, const array &a, const unsigned long long b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI array select (const array &cond, const long long a, const array &b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI array select (const array &cond, const unsigned long long a, const array &b)
 C++ Interface to select elements based on a conditional array. More...
 
AFAPI void info ()
 
AFAPI const char * infoString (const bool verbose=false)
 
AFAPI void deviceInfo (char *d_name, char *d_platform, char *d_toolkit, char *d_compute)
 
AFAPI int getDeviceCount ()
 Gets the number of devices. More...
 
AFAPI int getDevice ()
 Gets the current device ID. More...
 
AFAPI bool isDoubleAvailable (const int device)
 Queries the current device for double precision floating point support. More...
 
AFAPI bool isHalfAvailable (const int device)
 Queries the current device for half precision floating point support. More...
 
AFAPI void setDevice (const int device)
 Sets the current device. More...
 
AFAPI void sync (const int device=-1)
 Blocks until the device is finished processing. More...
 
AFAPI void free (const void *ptr)
 Returns memory to ArrayFire's memory manager. More...
 
AFAPI void freeV2 (const void *ptr)
 
AFAPI void freePinned (const void *ptr)
 Free pinned memory allocated by ArrayFire's memory manager. More...
 
AFAPI void * allocHost (const size_t elements, const dtype type)
 Allocate memory on host. More...
 
template<typename T >
AFAPI T * allocHost (const size_t elements)
 Allocate memory on host. More...
 
AFAPI void freeHost (const void *ptr)
 Free memory allocated internally by ArrayFire. More...
 
AFAPI void setMemStepSize (const size_t size)
 Set the resolution of memory chunks. More...
 
AFAPI size_t getMemStepSize ()
 Get the resolution of memory chunks. More...
 
AFAPI dim4 operator+ (const dim4 &first, const dim4 &second)
 Performs an element-wise addition of two dim4 objects. More...
 
AFAPI dim4 operator- (const dim4 &first, const dim4 &second)
 Performs an element-wise subtraction of two dim4 objects. More...
 
AFAPI dim4 operator* (const dim4 &first, const dim4 &second)
 Performs an element-wise multiplication of two dim4 objects. More...
 
static std::ostream & operator<< (std::ostream &ostr, const dim4 &dims)
 Prints the elements of the dim4 array separated by spaces. More...
 
static std::istream & operator>> (std::istream &istr, dim4 &dims)
 Reads 4 dim_t values from an input stream and stores the results in a dim4. More...
 
AFAPI bool isSpan (const af_seq &seq)
 Returns true if the af_seq object represents the entire range of an axis. More...
 
AFAPI size_t seqElements (const af_seq &seq)
 Returns the number of elements that the af_seq object represents. More...
 
AFAPI dim_t calcDim (const af_seq &seq, const dim_t &parentDim)
 Returns the number of elements that will be represented by seq if applied on an array. More...
 
AFAPI bool gforToggle ()
 
AFAPI bool gforGet ()
 
AFAPI void gforSet (bool val)
 
AFAPI array batchFunc (const array &lhs, const array &rhs, batchFunc_t func)
 
AFAPI void grad (array &dx, array &dy, const array &in)
 C++ Interface for calculating the gradients. More...
 
AFAPI array loadImage (const char *filename, const bool is_color=false)
 C++ Interface for loading an image. More...
 
AFAPI void saveImage (const char *filename, const array &in)
 C++ Interface for saving an image. More...
 
AFAPI array loadImageMem (const void *ptr)
 C++ Interface for loading an image from memory. More...
 
AFAPI void * saveImageMem (const array &in, const imageFormat format=AF_FIF_PNG)
 C++ Interface for saving an image to memory. More...
 
AFAPI void deleteImageMem (void *ptr)
 C++ Interface for deleting memory created by saveImageMem or af_save_image_memory. More...
 
AFAPI array loadImageNative (const char *filename)
 C++ Interface for loading an image as its original type. More...
 
AFAPI void saveImageNative (const char *filename, const array &in)
 C++ Interface for saving an image without modifications. More...
 
AFAPI bool isImageIOAvailable ()
 Function to check if Image IO is available. More...
 
AFAPI array resize (const array &in, const dim_t odim0, const dim_t odim1, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for resizing an image to specified dimensions. More...
 
AFAPI array resize (const float scale0, const float scale1, const array &in, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for resizing an image to specified scales. More...
 
AFAPI array resize (const float scale, const array &in, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for resizing an image to specified scale. More...
 
AFAPI array rotate (const array &in, const float theta, const bool crop=true, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for rotating an image. More...
 
AFAPI array transform (const array &in, const array &transform, const dim_t odim0=0, const dim_t odim1=0, const interpType method=AF_INTERP_NEAREST, const bool inverse=true)
 C++ Interface for transforming an image. More...
 
AFAPI array transformCoordinates (const array &tf, const float d0, const float d1)
 C++ Interface for transforming coordinates. More...
 
AFAPI array translate (const array &in, const float trans0, const float trans1, const dim_t odim0=0, const dim_t odim1=0, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for translating an image. More...
 
AFAPI array scale (const array &in, const float scale0, const float scale1, const dim_t odim0=0, const dim_t odim1=0, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for scaling an image. More...
 
AFAPI array skew (const array &in, const float skew0, const float skew1, const dim_t odim0=0, const dim_t odim1=0, const bool inverse=true, const interpType method=AF_INTERP_NEAREST)
 C++ Interface for skewing an image. More...
 
AFAPI array bilateral (const array &in, const float spatial_sigma, const float chromatic_sigma, const bool is_color=false)
 C++ Interface for bilateral filter. More...
 
AFAPI array histogram (const array &in, const unsigned nbins, const double minval, const double maxval)
 C++ Interface for histogram. More...
 
AFAPI array histogram (const array &in, const unsigned nbins)
 C++ Interface for histogram. More...
 
AFAPI array meanShift (const array &in, const float spatial_sigma, const float chromatic_sigma, const unsigned iter, const bool is_color=false)
 C++ Interface for mean shift. More...
 
AFAPI array minfilt (const array &in, const dim_t wind_length=3, const dim_t wind_width=3, const borderType edge_pad=AF_PAD_ZERO)
 C++ Interface for minimum filter. More...
 
AFAPI array maxfilt (const array &in, const dim_t wind_length=3, const dim_t wind_width=3, const borderType edge_pad=AF_PAD_ZERO)
 C++ Interface for maximum filter. More...
 
AFAPI array dilate (const array &in, const array &mask)
 C++ Interface for image dilation (max filter) More...
 
AFAPI array dilate3 (const array &in, const array &mask)
 C++ Interface for 3D image dilation. More...
 
AFAPI array erode (const array &in, const array &mask)
 C++ Interface for image erosion (min filter) More...
 
AFAPI array erode3 (const array &in, const array &mask)
 C++ Interface for 3d for image erosion. More...
 
AFAPI array regions (const array &in, const af::connectivity connectivity=AF_CONNECTIVITY_4, const dtype type=f32)
 C++ Interface for getting regions in an image. More...
 
AFAPI void sobel (array &dx, array &dy, const array &img, const unsigned ker_size=3)
 C++ Interface for extracting sobel gradients. More...
 
AFAPI array sobel (const array &img, const unsigned ker_size=3, const bool isFast=false)
 C++ Interface for sobel filtering. More...
 
AFAPI array rgb2gray (const array &in, const float rPercent=0.2126f, const float gPercent=0.7152f, const float bPercent=0.0722f)
 C++ Interface for RGB to gray conversion. More...
 
AFAPI array gray2rgb (const array &in, const float rFactor=1.0, const float gFactor=1.0, const float bFactor=1.0)
 C++ Interface for gray to RGB conversion. More...
 
AFAPI array histEqual (const array &in, const array &hist)
 C++ Interface for histogram equalization. More...
 
AFAPI array gaussianKernel (const int rows, const int cols, const double sig_r=0, const double sig_c=0)
 C++ Interface for generating gausian kernels. More...
 
AFAPI array hsv2rgb (const array &in)
 C++ Interface for converting HSV to RGB. More...
 
AFAPI array rgb2hsv (const array &in)
 C++ Interface for converting RGB to HSV. More...
 
AFAPI array colorSpace (const array &image, const CSpace to, const CSpace from)
 C++ Interface wrapper for colorspace conversion. More...
 
AFAPI array unwrap (const array &in, const dim_t wx, const dim_t wy, const dim_t sx, const dim_t sy, const dim_t px=0, const dim_t py=0, const bool is_column=true)
 C++ Interface for rearranging windowed sections of an input into columns (or rows) More...
 
AFAPI array wrap (const array &in, const dim_t ox, const dim_t oy, const dim_t wx, const dim_t wy, const dim_t sx, const dim_t sy, const dim_t px=0, const dim_t py=0, const bool is_column=true)
 C++ Interface for performing the opposite of unwrap. More...
 
AFAPI array sat (const array &in)
 C++ Interface wrapper for summed area tables. More...
 
AFAPI array ycbcr2rgb (const array &in, const YCCStd standard=AF_YCC_601)
 C++ Interface for converting YCbCr to RGB. More...
 
AFAPI array rgb2ycbcr (const array &in, const YCCStd standard=AF_YCC_601)
 C++ Interface for converting RGB to YCbCr. More...
 
AFAPI void moments (double *out, const array &in, const momentType moment=AF_MOMENT_FIRST_ORDER)
 C++ Interface for calculating an image moment. More...
 
AFAPI array moments (const array &in, const momentType moment=AF_MOMENT_FIRST_ORDER)
 C++ Interface for calculating image moments. More...
 
AFAPI array canny (const array &in, const cannyThreshold thresholdType, const float lowThresholdRatio, const float highThresholdRatio, const unsigned sobelWindow=3, const bool isFast=false)
 C++ Interface for canny edge detector. More...
 
AFAPI array anisotropicDiffusion (const af::array &in, const float timestep, const float conductance, const unsigned iterations, const fluxFunction fftype=AF_FLUX_EXPONENTIAL, const diffusionEq diffusionKind=AF_DIFFUSION_GRAD)
 C++ Interface for gradient anisotropic(non-linear diffusion) smoothing. More...
 
AFAPI array iterativeDeconv (const array &in, const array &ker, const unsigned iterations, const float relaxFactor, const iterativeDeconvAlgo algo)
 C++ Interface for Iterative deconvolution algorithm. More...
 
AFAPI array inverseDeconv (const array &in, const array &psf, const float gamma, const inverseDeconvAlgo algo)
 C++ Interface for Tikhonov deconvolution algorithm. More...
 
AFAPI array confidenceCC (const array &in, const array &seeds, const unsigned radius, const unsigned multiplier, const int iter, const double segmentedValue)
 C++ Interface for confidence connected components. More...
 
AFAPI array confidenceCC (const array &in, const array &seedx, const array &seedy, const unsigned radius, const unsigned multiplier, const int iter, const double segmentedValue)
 C++ Interface for confidence connected components. More...
 
AFAPI array confidenceCC (const array &in, const size_t num_seeds, const unsigned *seedx, const unsigned *seedy, const unsigned radius, const unsigned multiplier, const int iter, const double segmentedValue)
 C++ Interface for confidence connected components. More...
 
AFAPI array lookup (const array &in, const array &idx, const int dim=-1)
 Lookup the values of an input array by indexing with another array. More...
 
AFAPI void copy (array &dst, const array &src, const index &idx0, const index &idx1=span, const index &idx2=span, const index &idx3=span)
 Copy the values of an input array based on index. More...
 
AFAPI array createStridedArray (const void *data, const dim_t offset, const dim4 dims, const dim4 strides, const af::dtype ty, const af::source location)
 
AFAPI dim4 getStrides (const array &in)
 
AFAPI dim_t getOffset (const array &in)
 
AFAPI void * getRawPtr (const array &in)
 
AFAPI bool isLinear (const array &in)
 
AFAPI bool isOwner (const array &in)
 
AFAPI void svd (array &u, array &s, array &vt, const array &in)
 C++ Interface to perform singular value decomposition. More...
 
AFAPI void svdInPlace (array &u, array &s, array &vt, array &in)
 C++ Interface to perform in-place singular value decomposition. More...
 
AFAPI void lu (array &out, array &pivot, const array &in, const bool is_lapack_piv=true)
 C++ Interface to perform LU decomposition in packed format. More...
 
AFAPI void lu (array &lower, array &upper, array &pivot, const array &in)
 C++ Interface to perform LU decomposition. More...
 
AFAPI void luInPlace (array &pivot, array &in, const bool is_lapack_piv=true)
 C++ Interface to perform in-place LU decomposition. More...
 
AFAPI void qr (array &out, array &tau, const array &in)
 C++ Interface to perform QR decomposition in packed format. More...
 
AFAPI void qr (array &q, array &r, array &tau, const array &in)
 C++ Interface to perform QR decomposition. More...
 
AFAPI void qrInPlace (array &tau, array &in)
 C++ Interface to perform QR decomposition. More...
 
AFAPI int cholesky (array &out, const array &in, const bool is_upper=true)
 C++ Interface to perform Cholesky decomposition. More...
 
AFAPI int choleskyInPlace (array &in, const bool is_upper=true)
 C++ Interface to perform in-place Cholesky decomposition. More...
 
AFAPI array solve (const array &a, const array &b, const matProp options=AF_MAT_NONE)
 C++ Interface to solve a system of equations. More...
 
AFAPI array solveLU (const array &a, const array &piv, const array &b, const matProp options=AF_MAT_NONE)
 C++ Interface to solve a system of equations. More...
 
AFAPI array inverse (const array &in, const matProp options=AF_MAT_NONE)
 C++ Interface to invert a matrix. More...
 
AFAPI array pinverse (const array &in, const double tol=1E-6, const matProp options=AF_MAT_NONE)
 C++ Interface to pseudo-invert (Moore-Penrose) a matrix. More...
 
AFAPI unsigned rank (const array &in, const double tol=1E-5)
 C++ Interface to find the rank of a matrix. More...
 
template<typename T >
det (const array &in)
 C++ Interface to find the determinant of a matrix. More...
 
AFAPI double norm (const array &in, const normType type=AF_NORM_EUCLID, const double p=1, const double q=1)
 C++ Interface to find the norm of a matrix. More...
 
AFAPI bool isLAPACKAvailable ()
 Returns true if ArrayFire is compiled with LAPACK support. More...
 
AFAPI array convolve2GradientNN (const array &incoming_gradient, const array &original_signal, const array &original_filter, const array &convolved_output, const dim4 stride, const dim4 padding, const dim4 dilation, convGradientType grad_type)
 C++ interface for calculating backward pass gradient of 2D convolution This function calculates the gradient with respect to the output of the convolve2NN function that uses the machine learning formulation for the dimensions of the signals and filters. More...
 
AFAPI array randu (const dim4 &dims, const dtype ty, randomEngine &r)
 C++ Interface to create an array of random numbers uniformly distributed. More...
 
AFAPI array randn (const dim4 &dims, const dtype ty, randomEngine &r)
 C++ Interface to create an array of random numbers normally distributed. More...
 
AFAPI array randu (const dim4 &dims, const dtype ty=f32)
 C++ Interface to create an array of random numbers uniformly distributed. More...
 
AFAPI array randu (const dim_t d0, const dtype ty=f32)
 C++ Interface to create an array of random numbers uniformly distributed. More...
 
AFAPI array randu (const dim_t d0, const dim_t d1, const dtype ty=f32)
 C++ Interface to create an array of random numbers uniformly distributed. More...
 
AFAPI array randu (const dim_t d0, const dim_t d1, const dim_t d2, const dtype ty=f32)
 C++ Interface to create an array of random numbers uniformly distributed. More...
 
AFAPI array randu (const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, const dtype ty=f32)
 C++ Interface to create an array of random numbers uniformly distributed. More...
 
AFAPI array randn (const dim4 &dims, const dtype ty=f32)
 C++ Interface to create an array of random numbers normally distributed. More...
 
AFAPI array randn (const dim_t d0, const dtype ty=f32)
 C++ Interface to create an array of random numbers normally distributed. More...
 
AFAPI array randn (const dim_t d0, const dim_t d1, const dtype ty=f32)
 C++ Interface to create an array of random numbers normally distributed. More...
 
AFAPI array randn (const dim_t d0, const dim_t d1, const dim_t d2, const dtype ty=f32)
 C++ Interface to create an array of random numbers normally distributed. More...
 
AFAPI array randn (const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, const dtype ty=f32)
 C++ Interface to create an array of random numbers normally distributed. More...
 
AFAPI void setDefaultRandomEngineType (randomEngineType rtype)
 C++ Interface to set the default random engine type. More...
 
AFAPI randomEngine getDefaultRandomEngine (void)
 C++ Interface to get the default random engine type. More...
 
AFAPI void setSeed (const unsigned long long seed)
 C++ Interface to set the seed of the default random number generator. More...
 
AFAPI unsigned long long getSeed ()
 C++ Interface to get the seed of the default random number generator. More...
 
AFAPI array approx1 (const array &in, const array &pos, const interpType method=AF_INTERP_LINEAR, const float off_grid=0.0f)
 C++ Interface for data interpolation on one-dimensional signals. More...
 
AFAPI array approx2 (const array &in, const array &pos0, const array &pos1, const interpType method=AF_INTERP_LINEAR, const float off_grid=0.0f)
 C++ Interface for data interpolation on two-dimensional signals. More...
 
AFAPI array approx1 (const array &in, const array &pos, const int interp_dim, const double idx_start, const double idx_step, const interpType method=AF_INTERP_LINEAR, const float off_grid=0.0f)
 C++ Interface for data interpolation on one-dimensional signals. More...
 
AFAPI array approx2 (const array &in, const array &pos0, const int interp_dim0, const double idx_start_dim0, const double idx_step_dim0, const array &pos1, const int interp_dim1, const double idx_start_dim1, const double idx_step_dim1, const interpType method=AF_INTERP_LINEAR, const float off_grid=0.0f)
 C++ Interface for data interpolation on two-dimensional signals. More...
 
AFAPI array fftNorm (const array &in, const double norm_factor, const dim_t odim0=0)
 C++ Interface for fast fourier transform on one dimensional signals. More...
 
AFAPI array fft2Norm (const array &in, const double norm_factor, const dim_t odim0=0, const dim_t odim1=0)
 C++ Interface for fast fourier transform on two dimensional signals. More...
 
AFAPI array fft3Norm (const array &in, const double norm_factor, const dim_t odim0=0, const dim_t odim1=0, const dim_t odim2=0)
 C++ Interface for fast fourier transform on three dimensional signals. More...
 
AFAPI void fftInPlace (array &in, const double norm_factor=1.0)
 C++ Interface for fast fourier transform on one dimensional signals. More...
 
AFAPI void fft2InPlace (array &in, const double norm_factor=1.0)
 C++ Interface for fast fourier transform on two dimensional signals. More...
 
AFAPI void fft3InPlace (array &in, const double norm_factor=1.0)
 C++ Interface for fast fourier transform on three dimensional signals. More...
 
AFAPI array fft (const array &in, const dim_t odim0=0)
 C++ Interface for fast fourier transform on one dimensional signals. More...
 
AFAPI array fft2 (const array &in, const dim_t odim0=0, const dim_t odim1=0)
 C++ Interface for fast fourier transform on two dimensional signals. More...
 
AFAPI array fft3 (const array &in, const dim_t odim0=0, const dim_t odim1=0, const dim_t odim2=0)
 C++ Interface for fast fourier transform on three dimensional signals. More...
 
AFAPI array dft (const array &in, const double norm_factor, const dim4 outDims)
 C++ Interface for fast fourier transform on any(1d, 2d, 3d) dimensional signals. More...
 
AFAPI array dft (const array &in, const dim4 outDims)
 C++ Interface for fast fourier transform on any(1d, 2d, 3d) dimensional signals. More...
 
AFAPI array dft (const array &in)
 C++ Interface for fast fourier transform on any(1d, 2d, 3d) dimensional signals. More...
 
AFAPI array ifftNorm (const array &in, const double norm_factor, const dim_t odim0=0)
 C++ Interface for inverse fast fourier transform on one dimensional signals. More...
 
AFAPI array ifft2Norm (const array &in, const double norm_factor, const dim_t odim0=0, const dim_t odim1=0)
 C++ Interface for inverse fast fourier transform on two dimensional signals. More...
 
AFAPI array ifft3Norm (const array &in, const double norm_factor, const dim_t odim0=0, const dim_t odim1=0, const dim_t odim2=0)
 C++ Interface for inverse fast fourier transform on three dimensional signals. More...
 
AFAPI void ifftInPlace (array &in, const double norm_factor=1.0)
 C++ Interface for fast fourier transform on one dimensional signals. More...
 
AFAPI void ifft2InPlace (array &in, const double norm_factor=1.0)
 C++ Interface for fast fourier transform on two dimensional signals. More...
 
AFAPI void ifft3InPlace (array &in, const double norm_factor=1.0)
 C++ Interface for fast fourier transform on three dimensional signals. More...
 
AFAPI array ifft (const array &in, const dim_t odim0=0)
 C++ Interface for inverse fast fourier transform on one dimensional signals. More...
 
AFAPI array ifft2 (const array &in, const dim_t odim0=0, const dim_t odim1=0)
 C++ Interface for inverse fast fourier transform on two dimensional signals. More...
 
AFAPI array ifft3 (const array &in, const dim_t odim0=0, const dim_t odim1=0, const dim_t odim2=0)
 C++ Interface for inverse fast fourier transform on three dimensional signals. More...
 
AFAPI array idft (const array &in, const double norm_factor, const dim4 outDims)
 C++ Interface for inverse fast fourier transform on any(1d, 2d, 3d) dimensional signals. More...
 
AFAPI array idft (const array &in, const dim4 outDims)
 C++ Interface for inverse fast fourier transform on any(1d, 2d, 3d) dimensional signals. More...
 
AFAPI array idft (const array &in)
 C++ Interface for inverse fast fourier transform on any(1d, 2d, 3d) dimensional signals. More...
 
template<int rank>
array fftR2C (const array &in, const dim4 &dims, const double norm_factor=1.0)
 C++ Interface for real to complex fast fourier transform for one dimensional signals. More...
 
template<int rank>
array fftR2C (const array &in, const double norm_factor=1.0)
 C++ Interface for real to complex fast fourier transform for one dimensional signals. More...
 
template<int rank>
array fftC2R (const array &in, bool is_odd=false, const double norm_factor=1.0)
 C++ Interface for complex to real fast fourier transform. More...
 
AFAPI array convolve (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT, const convDomain domain=AF_CONV_AUTO)
 C++ Interface for convolution any(one through three) dimensional signals. More...
 
AFAPI array convolve (const array &col_filter, const array &row_filter, const array &signal, const convMode mode=AF_CONV_DEFAULT)
 C++ Interface for separable convolution on two dimensional signals. More...
 
AFAPI array convolve1 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT, const convDomain domain=AF_CONV_AUTO)
 C++ Interface for convolution on one dimensional signals. More...
 
AFAPI array convolve2 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT, const convDomain domain=AF_CONV_AUTO)
 C++ Interface for convolution on two dimensional signals. More...
 
AFAPI array convolve2NN (const array &signal, const array &filter, const dim4 stride, const dim4 padding, const dim4 dilation)
 C++ Interface for 2D convolution. More...
 
AFAPI array convolve3 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT, const convDomain domain=AF_CONV_AUTO)
 C++ Interface for convolution on three dimensional signals. More...
 
AFAPI array fftConvolve (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
 C++ Interface for FFT-based convolution any(one through three) dimensional signals. More...
 
AFAPI array fftConvolve1 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
 C++ Interface for convolution on 1D signals using FFT. More...
 
AFAPI array fftConvolve2 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
 C++ Interface for convolution on 2D signals using FFT. More...
 
AFAPI array fftConvolve3 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
 C++ Interface for convolution on 3D signals using FFT. More...
 
AFAPI array fir (const array &b, const array &x)
 C++ Interface for finite impulse response filter. More...
 
AFAPI array iir (const array &b, const array &a, const array &x)
 C++ Interface for infinite impulse response filter. More...
 
AFAPI array medfilt (const array &in, const dim_t wind_length=3, const dim_t wind_width=3, const borderType edge_pad=AF_PAD_ZERO)
 C++ Interface for median filter. More...
 
AFAPI array medfilt1 (const array &in, const dim_t wind_width=3, const borderType edge_pad=AF_PAD_ZERO)
 C++ Interface for median filter. More...
 
AFAPI array medfilt2 (const array &in, const dim_t wind_length=3, const dim_t wind_width=3, const borderType edge_pad=AF_PAD_ZERO)
 C++ Interface for median filter. More...
 
AFAPI void setFFTPlanCacheSize (size_t cacheSize)
 C++ Interface for setting plan cache size. More...
 
AFAPI array sparse (const dim_t nRows, const dim_t nCols, const array values, const array rowIdx, const array colIdx, const af::storage stype=AF_STORAGE_CSR)
 This function converts af::array of values, row indices and column indices into a sparse array. More...
 
AFAPI array sparse (const dim_t nRows, const dim_t nCols, const dim_t nNZ, const void *const values, const int *const rowIdx, const int *const colIdx, const dtype type=f32, const af::storage stype=AF_STORAGE_CSR, const af::source src=afHost)
 This function converts host or device arrays of values, row indices and column indices into a sparse array on the device. More...
 
AFAPI array sparse (const array dense, const af::storage stype=AF_STORAGE_CSR)
 This function converts a dense af::array into a sparse array. More...
 
AFAPI array sparseConvertTo (const array in, const af::storage destStrorage)
 
AFAPI array dense (const array sparse)
 
AFAPI void sparseGetInfo (array &values, array &rowIdx, array &colIdx, af::storage &stype, const array in)
 
AFAPI array sparseGetValues (const array in)
 
AFAPI array sparseGetRowIdx (const array in)
 
AFAPI array sparseGetColIdx (const array in)
 
AFAPI dim_t sparseGetNNZ (const array in)
 
AFAPI af::storage sparseGetStorage (const array in)
 
AFAPI array mean (const array &in, const dim_t dim=-1)
 C++ Interface for mean. More...
 
AFAPI array mean (const array &in, const array &weights, const dim_t dim=-1)
 C++ Interface for mean of weighted inputs. More...
 
AFAPI array var (const array &in, const bool isbiased=false, const dim_t dim=-1)
 C++ Interface for variance. More...
 
AFAPI array var (const array &in, const af_var_bias bias, const dim_t dim=-1)
 C++ Interface for variance. More...
 
AFAPI array var (const array &in, const array &weights, const dim_t dim=-1)
 C++ Interface for variance of weighted inputs. More...
 
AFAPI void meanvar (array &mean, array &var, const array &in, const array &weights, const af_var_bias bias=AF_VARIANCE_POPULATION, const dim_t dim=-1)
 C++ Interface for mean and variance. More...
 
AFAPI array stdev (const array &in, const dim_t dim=-1)
 C++ Interface for standard deviation. More...
 
AFAPI array stdev (const array &in, const af_var_bias bias, const dim_t dim=-1)
 C++ Interface for standard deviation. More...
 
AFAPI array cov (const array &X, const array &Y, const bool isbiased=false)
 C++ Interface for covariance. More...
 
AFAPI array cov (const array &X, const array &Y, const af_var_bias bias)
 C++ Interface for covariance. More...
 
AFAPI array median (const array &in, const dim_t dim=-1)
 C++ Interface for median. More...
 
template<typename T >
AFAPImean (const array &in)
 C++ Interface for mean of all elements. More...
 
template<typename T >
AFAPImean (const array &in, const array &weights)
 C++ Interface for mean of all elements in weighted input. More...
 
template<typename T >
AFAPIvar (const array &in, const bool isbiased=false)
 C++ Interface for variance of all elements. More...
 
template<typename T >
AFAPIvar (const array &in, const af_var_bias bias)
 C++ Interface for variance of all elements. More...
 
template<typename T >
AFAPIvar (const array &in, const array &weights)
 C++ Interface for variance of all elements in weighted input. More...
 
template<typename T >
AFAPIstdev (const array &in)
 C++ Interface for standard deviation of all elements. More...
 
template<typename T >
AFAPIstdev (const array &in, const af_var_bias bias)
 C++ Interface for standard deviation of all elements. More...
 
template<typename T >
AFAPImedian (const array &in)
 C++ Interface for median of all elements. More...
 
template<typename T >
AFAPIcorrcoef (const array &X, const array &Y)
 C++ Interface for correlation coefficient. More...
 
AFAPI void topk (array &values, array &indices, const array &in, const int k, const int dim=-1, const topkFunction order=AF_TOPK_MAX)
 C++ Interface for finding top k elements along a given dimension. More...
 
AFAPI double timeit (void(*fn)())
 
AFAPI void print (const char *exp, const array &arr)
 
AFAPI void print (const char *exp, const array &arr, const int precision)
 
AFAPI int saveArray (const char *key, const array &arr, const char *filename, const bool append=false)
 
AFAPI array readArray (const char *filename, const unsigned index)
 
AFAPI array readArray (const char *filename, const char *key)
 
AFAPI int readArrayCheck (const char *filename, const char *key)
 When reading by key, it may be a good idea to run this function first to check for the key and then call the readArray using the index. More...
 
AFAPI void toString (char **output, const char *exp, const array &arr, const int precision=4, const bool transpose=true)
 
AFAPI const char * toString (const char *exp, const array &arr, const int precision=4, const bool transpose=true)
 
AFAPI array exampleFunction (const array &in, const af_someenum_t param)
 
AFAPI size_t getSizeOf (af::dtype type)
 Get the size of the type represented by an af_dtype enum. More...
 
AFAPI features fast (const array &in, const float thr=20.0f, const unsigned arc_length=9, const bool non_max=true, const float feature_ratio=0.05f, const unsigned edge=3)
 C++ Interface for FAST feature detector. More...
 
AFAPI features harris (const array &in, const unsigned max_corners=500, const float min_response=1e5f, const float sigma=1.f, const unsigned block_size=0, const float k_thr=0.04f)
 C++ Interface for Harris corner detector. More...
 
AFAPI void orb (features &feat, array &desc, const array &image, const float fast_thr=20.f, const unsigned max_feat=400, const float scl_fctr=1.5f, const unsigned levels=4, const bool blur_img=false)
 C++ Interface for ORB feature descriptor. More...
 
AFAPI void sift (features &feat, array &desc, const array &in, const unsigned n_layers=3, const float contrast_thr=0.04f, const float edge_thr=10.f, const float init_sigma=1.6f, const bool double_input=true, const float intensity_scale=0.00390625f, const float feature_ratio=0.05f)
 C++ Interface for SIFT feature detector and descriptor. More...
 
AFAPI void gloh (features &feat, array &desc, const array &in, const unsigned n_layers=3, const float contrast_thr=0.04f, const float edge_thr=10.f, const float init_sigma=1.6f, const bool double_input=true, const float intensity_scale=0.00390625f, const float feature_ratio=0.05f)
 C++ Interface for SIFT feature detector and GLOH descriptor. More...
 
AFAPI void hammingMatcher (array &idx, array &dist, const array &query, const array &train, const dim_t dist_dim=0, const unsigned n_dist=1)
 C++ Interface wrapper for Hamming matcher. More...
 
AFAPI void nearestNeighbour (array &idx, array &dist, const array &query, const array &train, const dim_t dist_dim=0, const unsigned n_dist=1, const af_match_type dist_type=AF_SSD)
 C++ interface wrapper for determining the nearest neighbouring points to a given set of points. More...
 
AFAPI array matchTemplate (const array &searchImg, const array &templateImg, const matchType mType=AF_SAD)
 C++ Interface for image template matching. More...
 
AFAPI features susan (const array &in, const unsigned radius=3, const float diff_thr=32.0f, const float geom_thr=10.0f, const float feature_ratio=0.05f, const unsigned edge=3)
 C++ Interface for SUSAN corner detector. More...
 
AFAPI array dog (const array &in, const int radius1, const int radius2)
 C++ Interface wrapper for Difference of Gaussians. More...
 
AFAPI void homography (array &H, int &inliers, const array &x_src, const array &y_src, const array &x_dst, const array &y_dst, const af_homography_type htype=AF_HOMOGRAPHY_RANSAC, const float inlier_thr=3.f, const unsigned iterations=1000, const dtype otype=f32)
 C++ Interface for Homography estimation. More...
 
AFAPI array clamp (const array &in, const array &lo, const array &hi)
 
AFAPI array clamp (const array &in, const array &lo, const double hi)
 
AFAPI array clamp (const array &in, const double lo, const array &hi)
 
AFAPI array clamp (const array &in, const double lo, const double hi)
 
AFAPI array rem (const array &lhs, const array &rhs)
 
AFAPI array rem (const array &lhs, const double rhs)
 
AFAPI array rem (const double lhs, const array &rhs)
 
AFAPI array mod (const array &lhs, const array &rhs)
 
AFAPI array mod (const array &lhs, const double rhs)
 
AFAPI array mod (const double lhs, const array &rhs)
 
AFAPI array hypot (const array &lhs, const array &rhs)
 C++ Interface to calculate the length of the hypotenuse of two inputs. More...
 
AFAPI array hypot (const array &lhs, const double rhs)
 C++ Interface to calculate the length of the hypotenuse of two inputs. More...
 
AFAPI array hypot (const double lhs, const array &rhs)
 C++ Interface to calculate the length of the hypotenuse of two inputs. More...
 
AFAPI array atan2 (const array &lhs, const array &rhs)
 C++ Interface to evaluate the inverse tangent of two arrays. More...
 
AFAPI array atan2 (const array &lhs, const double rhs)
 C++ Interface to evaluate the inverse tangent of two arrays. More...
 
AFAPI array atan2 (const double lhs, const array &rhs)
 C++ Interface to evaluate the inverse tangent of two arrays. More...
 
AFAPI array complex (const array &in)
 C++ Interface to create a complex array from a single real array. More...
 
AFAPI array complex (const array &real_, const array &imag_)
 C++ Interface to create a complex array from two real arrays. More...
 
AFAPI array complex (const array &real_, const double imag_)
 C++ Interface to create a complex array from a single real array for the real component and a single scalar for each imaginary component. More...
 
AFAPI array complex (const double real_, const array &imag_)
 C++ Interface to create a complex array from a single scalar for each real component and a single real array for the imaginary component. More...
 
AFAPI array pow (const array &base, const array &exponent)
 C++ Interface to raise a base to a power (or exponent). More...
 
AFAPI array pow (const array &base, const double exponent)
 C++ Interface to raise a base to a power (or exponent). More...
 
AFAPI array pow (const double base, const array &exponent)
 C++ Interface to raise a base to a power (or exponent). More...
 
AFAPI array pow2 (const array &in)
 C++ Interface to raise 2 to a power (or exponent). More...
 
AFAPI array operator+ (const array &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const bool &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const int &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const unsigned &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const char &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const unsigned char &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const long &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const unsigned long &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const long long &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const unsigned long long &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const double &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const float &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const cfloat &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const cdouble &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const bool &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const int &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const unsigned &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const char &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const unsigned char &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const long &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const unsigned long &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const long long &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const unsigned long long &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const double &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const float &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const cfloat &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const cdouble &rhs)
 
AFAPI array operator+ (const short &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const unsigned short &lhs, const array &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const short &rhs)
 Adds two arrays or an array and a value. More...
 
AFAPI array operator+ (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator- (const array &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const bool &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const int &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const unsigned &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const char &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const unsigned char &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const long &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const unsigned long &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const long long &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const unsigned long long &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const double &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const float &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const cfloat &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const cdouble &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const bool &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const int &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const unsigned &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const char &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const unsigned char &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const long &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const unsigned long &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const long long &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const unsigned long long &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const double &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const float &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const cfloat &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const cdouble &rhs)
 
AFAPI array operator- (const short &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const unsigned short &lhs, const array &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const short &rhs)
 Subtracts two arrays or an array and a value. More...
 
AFAPI array operator- (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator* (const array &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const bool &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const int &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const unsigned &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const char &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const unsigned char &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const long &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const unsigned long &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const long long &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const unsigned long long &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const double &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const float &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const cfloat &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const cdouble &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const bool &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const int &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const unsigned &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const char &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const unsigned char &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const long &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const unsigned long &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const long long &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const unsigned long long &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const double &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const float &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const cfloat &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const cdouble &rhs)
 
AFAPI array operator* (const short &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const unsigned short &lhs, const array &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const short &rhs)
 Multiplies two arrays or an array and a value. More...
 
AFAPI array operator* (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator/ (const array &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const bool &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const int &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const unsigned &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const char &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const unsigned char &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const long &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const unsigned long &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const long long &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const unsigned long long &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const double &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const float &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const cfloat &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const cdouble &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const bool &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const int &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const unsigned &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const char &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const unsigned char &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const long &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const unsigned long &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const long long &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const unsigned long long &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const double &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const float &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const cfloat &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const cdouble &rhs)
 
AFAPI array operator/ (const short &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const unsigned short &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const short &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator== (const array &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const bool &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const int &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const unsigned &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const char &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const unsigned char &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const long &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const unsigned long &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const long long &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const unsigned long long &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const double &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const float &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const cfloat &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const cdouble &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const bool &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const int &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const unsigned &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const char &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const unsigned char &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const long &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const unsigned long &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const long long &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const unsigned long long &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const double &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const float &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const cfloat &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const cdouble &rhs)
 
AFAPI array operator== (const short &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const unsigned short &lhs, const array &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const short &rhs)
 Performs an equality operation on two arrays or an array and a value. More...
 
AFAPI array operator== (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator!= (const array &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const bool &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const int &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const unsigned &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const char &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const unsigned char &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const long &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const unsigned long &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const long long &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const unsigned long long &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const double &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const float &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const cfloat &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const cdouble &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const bool &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const int &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const unsigned &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const char &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const unsigned char &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const long &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const unsigned long &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const long long &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const unsigned long long &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const double &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const float &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const cfloat &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const cdouble &rhs)
 
AFAPI array operator!= (const short &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const unsigned short &lhs, const array &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const short &rhs)
 Performs an inequality operation on two arrays or an array and a value. More...
 
AFAPI array operator!= (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator< (const array &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const bool &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const int &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const unsigned &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const char &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const unsigned char &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const long &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const unsigned long &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const long long &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const unsigned long long &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const double &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const float &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const cfloat &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const cdouble &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const bool &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const int &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const unsigned &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const char &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const unsigned char &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const long &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const unsigned long &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const long long &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const unsigned long long &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const double &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const float &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const cfloat &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const cdouble &rhs)
 
AFAPI array operator< (const short &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const unsigned short &lhs, const array &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const short &rhs)
 Performs a lower than operation on two arrays or an array and a value. More...
 
AFAPI array operator< (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator<= (const array &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const bool &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const int &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const unsigned &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const char &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const unsigned char &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const long &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const unsigned long &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const long long &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const unsigned long long &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const double &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const float &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const cfloat &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const cdouble &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const bool &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const int &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const unsigned &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const char &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const unsigned char &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const long &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const unsigned long &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const long long &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const unsigned long long &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const double &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const float &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const cfloat &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const cdouble &rhs)
 
AFAPI array operator<= (const short &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const unsigned short &lhs, const array &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const short &rhs)
 Performs an lower or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator<= (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator> (const array &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const bool &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const int &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const unsigned &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const char &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const unsigned char &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const long &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const unsigned long &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const long long &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const unsigned long long &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const double &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const float &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const cfloat &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const cdouble &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const bool &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const int &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const unsigned &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const char &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const unsigned char &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const long &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const unsigned long &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const long long &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const unsigned long long &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const double &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const float &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const cfloat &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const cdouble &rhs)
 
AFAPI array operator> (const short &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const unsigned short &lhs, const array &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const short &rhs)
 Performs an greater than operation on two arrays or an array and a value. More...
 
AFAPI array operator> (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator>= (const array &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const bool &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const int &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const unsigned &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const char &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const unsigned char &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const long &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const unsigned long &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const long long &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const unsigned long long &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const double &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const float &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const cfloat &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const cdouble &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const bool &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const int &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const unsigned &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const char &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const unsigned char &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const long &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const unsigned long &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const long long &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const unsigned long long &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const double &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const float &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const cfloat &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const cdouble &rhs)
 
AFAPI array operator>= (const short &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const unsigned short &lhs, const array &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const short &rhs)
 Performs an greater or equal operation on two arrays or an array and a value. More...
 
AFAPI array operator>= (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator|| (const array &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const bool &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const int &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const unsigned &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const char &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const unsigned char &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const long &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const unsigned long &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const long long &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const unsigned long long &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const double &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const float &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const cfloat &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const cdouble &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const bool &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const int &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const unsigned &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const char &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const unsigned char &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const long &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const unsigned long &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const long long &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const unsigned long long &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const double &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const float &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const cfloat &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const cdouble &rhs)
 
AFAPI array operator|| (const short &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const unsigned short &lhs, const array &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const short &rhs)
 Performs an logical OR operation on two arrays or an array and a value. More...
 
AFAPI array operator|| (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator% (const array &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const bool &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const int &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const unsigned &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const char &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const unsigned char &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const long &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const unsigned long &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const long long &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const unsigned long long &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const double &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const float &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const cfloat &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const cdouble &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const bool &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const int &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const unsigned &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const char &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const unsigned char &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const long &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const unsigned long &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const long long &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const unsigned long long &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const double &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const float &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const cfloat &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const cdouble &rhs)
 
AFAPI array operator% (const short &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const unsigned short &lhs, const array &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const short &rhs)
 Performs an modulo operation on two arrays or an array and a value. More...
 
AFAPI array operator% (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator| (const array &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const bool &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const int &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const unsigned &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const char &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const unsigned char &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const long &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const unsigned long &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const long long &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const unsigned long long &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const double &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const float &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const cfloat &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const cdouble &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const bool &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const int &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const unsigned &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const char &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const unsigned char &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const long &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const unsigned long &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const long long &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const unsigned long long &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const double &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const float &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const cfloat &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const cdouble &rhs)
 
AFAPI array operator| (const short &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const unsigned short &lhs, const array &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const short &rhs)
 Performs an bitwise OR operation on two arrays or an array and a value. More...
 
AFAPI array operator| (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator^ (const array &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const bool &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const int &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const unsigned &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const char &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const unsigned char &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const long &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const unsigned long &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const long long &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const unsigned long long &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const double &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const float &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const cfloat &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const cdouble &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const bool &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const int &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const unsigned &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const char &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const unsigned char &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const long &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const unsigned long &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const long long &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const unsigned long long &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const double &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const float &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const cfloat &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const cdouble &rhs)
 
AFAPI array operator^ (const short &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const unsigned short &lhs, const array &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const short &rhs)
 Performs an bitwise XOR operation on two arrays or an array and a value. More...
 
AFAPI array operator^ (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator<< (const array &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const bool &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const int &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const unsigned &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const char &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const unsigned char &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const long &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const unsigned long &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const long long &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const unsigned long long &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const double &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const float &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const cfloat &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const cdouble &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const bool &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const int &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const unsigned &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const char &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const unsigned char &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const long &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const unsigned long &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const long long &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const unsigned long long &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const double &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const float &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const cfloat &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const cdouble &rhs)
 
AFAPI array operator<< (const short &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const unsigned short &lhs, const array &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const short &rhs)
 Performs an left shift operation on two arrays or an array and a value. More...
 
AFAPI array operator<< (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator>> (const array &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const bool &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const int &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const unsigned &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const char &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const unsigned char &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const long &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const unsigned long &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const long long &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const unsigned long long &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const double &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const float &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const cfloat &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const cdouble &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const bool &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const int &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const unsigned &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const char &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const unsigned char &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const long &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const unsigned long &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const long long &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const unsigned long long &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const double &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const float &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const cfloat &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const cdouble &rhs)
 
AFAPI array operator>> (const short &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const unsigned short &lhs, const array &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const short &rhs)
 Performs an right shift operation on two arrays or an array and a value. More...
 
AFAPI array operator>> (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator& (const array &lhs, const array &rhs)
 Performs an bitwise AND operation on two arrays or an array and a value. More...
 
AFAPI array operator& (const array &lhs, const bool &rhs)
 
AFAPI array operator& (const array &lhs, const cdouble &rhs)
 
AFAPI array operator& (const array &lhs, const cfloat &rhs)
 
AFAPI array operator& (const array &lhs, const char &rhs)
 
AFAPI array operator& (const array &lhs, const double &rhs)
 
AFAPI array operator& (const array &lhs, const float &rhs)
 
AFAPI array operator& (const array &lhs, const int &rhs)
 
AFAPI array operator& (const array &lhs, const long long &rhs)
 
AFAPI array operator& (const array &lhs, const long &rhs)
 
AFAPI array operator& (const array &lhs, const short &rhs)
 
AFAPI array operator& (const array &lhs, const unsigned char &rhs)
 
AFAPI array operator& (const array &lhs, const unsigned long long &rhs)
 
AFAPI array operator& (const array &lhs, const unsigned long &rhs)
 
AFAPI array operator& (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator& (const array &lhs, const unsigned &rhs)
 
AFAPI array operator& (const bool &lhs, const array &rhs)
 
AFAPI array operator& (const cdouble &lhs, const array &rhs)
 
AFAPI array operator& (const cfloat &lhs, const array &rhs)
 
AFAPI array operator& (const char &lhs, const array &rhs)
 
AFAPI array operator& (const double &lhs, const array &rhs)
 
AFAPI array operator& (const float &lhs, const array &rhs)
 
AFAPI array operator& (const int &lhs, const array &rhs)
 
AFAPI array operator& (const long long &lhs, const array &rhs)
 
AFAPI array operator& (const long &lhs, const array &rhs)
 
AFAPI array operator& (const short &lhs, const array &rhs)
 
AFAPI array operator& (const unsigned char &lhs, const array &rhs)
 
AFAPI array operator& (const unsigned long long &lhs, const array &rhs)
 
AFAPI array operator& (const unsigned long &lhs, const array &rhs)
 
AFAPI array operator& (const unsigned short &lhs, const array &rhs)
 
AFAPI array operator& (const unsigned &lhs, const array &rhs)
 
AFAPI array operator&& (const array &lhs, const array &rhs)
 Performs a logical AND operation on two arrays or an array and a value. More...
 
AFAPI array operator&& (const array &lhs, const bool &rhs)
 
AFAPI array operator&& (const array &lhs, const cdouble &rhs)
 
AFAPI array operator&& (const array &lhs, const cfloat &rhs)
 
AFAPI array operator&& (const array &lhs, const char &rhs)
 
AFAPI array operator&& (const array &lhs, const double &rhs)
 
AFAPI array operator&& (const array &lhs, const float &rhs)
 
AFAPI array operator&& (const array &lhs, const int &rhs)
 
AFAPI array operator&& (const array &lhs, const long long &rhs)
 
AFAPI array operator&& (const array &lhs, const long &rhs)
 
AFAPI array operator&& (const array &lhs, const short &rhs)
 
AFAPI array operator&& (const array &lhs, const unsigned char &rhs)
 
AFAPI array operator&& (const array &lhs, const unsigned long long &rhs)
 
AFAPI array operator&& (const array &lhs, const unsigned long &rhs)
 
AFAPI array operator&& (const array &lhs, const unsigned short &rhs)
 
AFAPI array operator&& (const array &lhs, const unsigned &rhs)
 
AFAPI array operator&& (const bool &lhs, const array &rhs)
 
AFAPI array operator&& (const cdouble &lhs, const array &rhs)
 
AFAPI array operator&& (const cfloat &lhs, const array &rhs)
 
AFAPI array operator&& (const char &lhs, const array &rhs)
 
AFAPI array operator&& (const double &lhs, const array &rhs)
 
AFAPI array operator&& (const float &lhs, const array &rhs)
 
AFAPI array operator&& (const int &lhs, const array &rhs)
 
AFAPI array operator&& (const long long &lhs, const array &rhs)
 
AFAPI array operator&& (const long &lhs, const array &rhs)
 
AFAPI array operator&& (const short &lhs, const array &rhs)
 
AFAPI array operator&& (const unsigned char &lhs, const array &rhs)
 
AFAPI array operator&& (const unsigned long long &lhs, const array &rhs)
 
AFAPI array operator&& (const unsigned long &lhs, const array &rhs)
 
AFAPI array operator&& (const unsigned short &lhs, const array &rhs)
 
AFAPI array operator&& (const unsigned &lhs, const array &rhs)
 
arrayeval (array &a)
 Evaluate an expression (nonblocking). More...
 
AFAPI void eval (int num, array **arrays)
 Evaluate multiple arrays simultaneously. More...
 
void eval (array &a, array &b)
 
void eval (array &a, array &b, array &c)
 
void eval (array &a, array &b, array &c, array &d)
 
void eval (array &a, array &b, array &c, array &d, array &e)
 
void eval (array &a, array &b, array &c, array &d, array &e, array &f)
 
const arrayeval (const array &a)
 Evaluate an expression (nonblocking). More...
 
void eval (const array &a, const array &b)
 
void eval (const array &a, const array &b, const array &c)
 
void eval (const array &a, const array &b, const array &c, const array &d)
 
void eval (const array &a, const array &b, const array &c, const array &d, const array &e)
 
void eval (const array &a, const array &b, const array &c, const array &d, const array &e, const array &f)
 
AFAPI void setManualEvalFlag (bool flag)
 Turn the manual eval flag on or off. More...
 
AFAPI bool getManualEvalFlag ()
 Get the manual eval flag. More...
 
AFAPI void * alloc (const size_t elements, const dtype type)
 Allocates memory using ArrayFire's memory manager. More...
 
AFAPI void * allocV2 (const size_t bytes)
 Allocates memory using ArrayFire's memory manager. More...
 
template<typename T >
T * alloc (const size_t elements)
 Allocates memory using ArrayFire's memory manager. More...
 
AFAPI void * pinned (const size_t elements, const dtype type)
 
template<typename T >
T * pinned (const size_t elements)
 Allocate pinned memory using ArrayFire's memory manager. More...
 
AFAPI void deviceMemInfo (size_t *alloc_bytes, size_t *alloc_buffers, size_t *lock_bytes, size_t *lock_buffers)
 Gets information about the memory manager. More...
 
AFAPI void printMemInfo (const char *msg=NULL, const int device_id=-1)
 Prints buffer details from the ArrayFire Device Manager. More...
 
AFAPI void deviceGC ()
 Call the garbage collection function in the memory manager. More...
 

Variables

AFAPI const double NaN
 
AFAPI const double Inf
 
AFAPI const double Pi
 
AFAPI int end
 A special value representing the last value of an axis. More...
 
AFAPI seq span
 A special value representing the entire axis of an af::array. More...
 

Typedef Documentation

◆ af_cdouble

typedef struct af::af_cdouble af_cdouble

◆ af_cfloat

typedef struct af::af_cfloat af_cfloat

◆ Backend

Definition at line 574 of file defines.h.

◆ batchFunc_t

typedef array(* batchFunc_t) (const array &lhs, const array &rhs)

Definition at line 28 of file gfor.h.

◆ binaryOp

Definition at line 586 of file defines.h.

◆ borderType

Definition at line 556 of file defines.h.

◆ cannyThreshold

Definition at line 592 of file defines.h.

◆ cdouble

Definition at line 45 of file complex.h.

◆ cfloat

Definition at line 44 of file complex.h.

◆ ColorMap

Definition at line 565 of file defines.h.

◆ connectivity

Definition at line 557 of file defines.h.

◆ convDomain

Definition at line 563 of file defines.h.

◆ convGradientType

Definition at line 603 of file defines.h.

◆ convMode

Definition at line 562 of file defines.h.

◆ CSpace

Definition at line 559 of file defines.h.

◆ diffusionEq

Definition at line 596 of file defines.h.

◆ dtype

typedef af_dtype dtype

Definition at line 553 of file defines.h.

◆ fluxFunction

Definition at line 595 of file defines.h.

◆ half

typedef af_half half

Definition at line 26 of file half.h.

◆ imageFormat

Definition at line 571 of file defines.h.

◆ interpType

Definition at line 555 of file defines.h.

◆ inverseDeconvAlgo

Definition at line 602 of file defines.h.

◆ iterativeDeconvAlgo

Definition at line 601 of file defines.h.

◆ markerType

Definition at line 577 of file defines.h.

◆ matchType

Definition at line 558 of file defines.h.

◆ matProp

Definition at line 564 of file defines.h.

◆ momentType

Definition at line 580 of file defines.h.

◆ normType

Definition at line 566 of file defines.h.

◆ randomEngineType

Definition at line 589 of file defines.h.

◆ SomeEnum

Definition at line 560 of file defines.h.

◆ source

typedef af_source source

Definition at line 554 of file defines.h.

◆ storage

Definition at line 583 of file defines.h.

◆ timer

typedef struct af::timer timer

Internal timer object.

◆ topkFunction

Definition at line 597 of file defines.h.

◆ trans

typedef af_mat_prop trans

Definition at line 561 of file defines.h.

◆ varBias

Definition at line 600 of file defines.h.

◆ YCCStd

typedef af_ycc_std YCCStd

Definition at line 568 of file defines.h.

Function Documentation

◆ abs() [1/2]

AFAPI double abs ( const cdouble val)

◆ abs() [2/2]

AFAPI float abs ( const cfloat val)

◆ allTrueByKey()

AFAPI void allTrueByKey ( array keys_out,
array vals_out,
const array keys,
const array vals,
const int  dim = -1 
)

C++ Interface to check if all values along a given dimension are true, according to an array of keys.

NaN values are ignored.

Parameters
[out]keys_outreduced keys
[out]vals_outarray containing 1's if all true; 0's otherwise
[in]keyskeys array
[in]valsinput array
[in]dimdimension along which the check occurs

◆ batchFunc()

AFAPI array batchFunc ( const array lhs,
const array rhs,
batchFunc_t  func 
)

◆ calcDim()

AFAPI dim_t calcDim ( const af_seq seq,
const dim_t parentDim 
)

Returns the number of elements that will be represented by seq if applied on an array.

◆ conj() [1/2]

AFAPI cdouble conj ( const cdouble val)

◆ conj() [2/2]

AFAPI cfloat conj ( const cfloat val)

◆ exampleFunction()

AFAPI array exampleFunction ( const array in,
const af_someenum_t  param 
)

◆ filter()

AFAPI array filter ( const array image,
const array kernel 
)

Image Filtering.

// filter (convolve) an image with a 3x3 sobel kernel
const float h_kernel[] = { -2.0, -1.0, 0.0,
-1.0, 0.0, 1.0,
0.0, 1.0, 2.0 };
array kernel = array(3,3,h_kernel);
array img_out = filter(img_in, kernel);
AFAPI array filter(const array &image, const array &kernel)
Image Filtering.
Parameters
[in]image
[in]kernelcoefficient matrix
Returns
filtered image (same size as input)
Note
Filtering done using correlation. Array values outside bounds are assumed to have zero value (0).
Deprecated:
Use af::convolve instead

◆ getActiveBackend()

AFAPI af::Backend getActiveBackend ( )
Returns
af_backend which is the backend is currently active

◆ getRawPtr()

AFAPI void * getRawPtr ( const array in)
Parameters
[in]inAn multi dimensional array.
Returns
Returns the raw pointer location to the array.
Note
This pointer may be shared with other arrays. Use this function with caution.

◆ getSizeOf()

AFAPI size_t getSizeOf ( af::dtype  type)

Get the size of the type represented by an af_dtype enum.

◆ gforGet()

AFAPI bool gforGet ( )

◆ gforSet()

AFAPI void gforSet ( bool  val)

◆ gforToggle()

AFAPI bool gforToggle ( )

◆ imag() [1/2]

AFAPI double imag ( af_cdouble  val)

◆ imag() [2/2]

AFAPI float imag ( af_cfloat  val)

◆ isSpan()

AFAPI bool isSpan ( const af_seq seq)

Returns true if the af_seq object represents the entire range of an axis.

◆ log2()

AFAPI array log2 ( const array in)

C++ Interface to evaluate the base 2 logarithm.

Parameters
[in]ininput
Returns
base 2 logarithm

◆ meanvar()

AFAPI void meanvar ( array mean,
array var,
const array in,
const array weights,
const af_var_bias  bias = AF_VARIANCE_POPULATION,
const dim_t  dim = -1 
)

C++ Interface for mean and variance.

Parameters
[out]meanThe mean of the input array along dim dimension
[out]varThe variance of the input array along the dim dimension
[in]inThe input array
[in]weightsThe weights to scale the input array before calculating the mean and varience. If empty, the input is not scaled
[in]biasThe type of bias used for variance calculation
[in]dimThe dimension along which the variance and mean are calculated. Default is -1 meaning the first non-zero dim

◆ operator!=() [1/2]

AFAPI bool operator!= ( const cdouble lhs,
const cdouble rhs 
)

◆ operator!=() [2/2]

AFAPI bool operator!= ( const cfloat lhs,
const cfloat rhs 
)

◆ operator*() [1/9]

AFAPI af::cdouble operator* ( const af::cdouble lhs,
const af::cdouble rhs 
)

◆ operator*() [2/9]

AFAPI af::cdouble operator* ( const af::cdouble lhs,
const af::cfloat rhs 
)

◆ operator*() [3/9]

AFAPI af::cdouble operator* ( const af::cdouble lhs,
const double &  rhs 
)

◆ operator*() [4/9]

AFAPI af::cdouble operator* ( const af::cfloat lhs,
const af::cdouble rhs 
)

◆ operator*() [5/9]

AFAPI af::cfloat operator* ( const af::cfloat lhs,
const af::cfloat rhs 
)

◆ operator*() [6/9]

AFAPI af::cfloat operator* ( const af::cfloat lhs,
const double &  rhs 
)

◆ operator*() [7/9]

AFAPI dim4 operator* ( const dim4 first,
const dim4 second 
)

Performs an element-wise multiplication of two dim4 objects.

◆ operator*() [8/9]

AFAPI af::cdouble operator* ( const double &  rhs,
const af::cdouble lhs 
)

◆ operator*() [9/9]

AFAPI af::cfloat operator* ( const double &  rhs,
const af::cfloat lhs 
)

◆ operator+() [1/9]

AFAPI af::cdouble operator+ ( const af::cdouble lhs,
const af::cdouble rhs 
)

◆ operator+() [2/9]

AFAPI af::cdouble operator+ ( const af::cdouble lhs,
const af::cfloat rhs 
)

◆ operator+() [3/9]

AFAPI af::cdouble operator+ ( const af::cdouble lhs,
const double &  rhs 
)

◆ operator+() [4/9]

AFAPI af::cdouble operator+ ( const af::cfloat lhs,
const af::cdouble rhs 
)

◆ operator+() [5/9]

AFAPI af::cfloat operator+ ( const af::cfloat lhs,
const af::cfloat rhs 
)

◆ operator+() [6/9]

AFAPI af::cfloat operator+ ( const af::cfloat lhs,
const double &  rhs 
)

◆ operator+() [7/9]

AFAPI dim4 operator+ ( const dim4 first,
const dim4 second 
)

Performs an element-wise addition of two dim4 objects.

◆ operator+() [8/9]

AFAPI af::cdouble operator+ ( const double &  rhs,
const af::cdouble lhs 
)

◆ operator+() [9/9]

AFAPI af::cfloat operator+ ( const double &  rhs,
const af::cfloat lhs 
)

◆ operator-() [1/9]

AFAPI af::cdouble operator- ( const af::cdouble lhs,
const af::cdouble rhs 
)

◆ operator-() [2/9]

AFAPI af::cdouble operator- ( const af::cdouble lhs,
const af::cfloat rhs 
)

◆ operator-() [3/9]

AFAPI af::cdouble operator- ( const af::cdouble lhs,
const double &  rhs 
)

◆ operator-() [4/9]

AFAPI af::cdouble operator- ( const af::cfloat lhs,
const af::cdouble rhs 
)

◆ operator-() [5/9]

AFAPI af::cfloat operator- ( const af::cfloat lhs,
const af::cfloat rhs 
)

◆ operator-() [6/9]

AFAPI af::cfloat operator- ( const af::cfloat lhs,
const double &  rhs 
)

◆ operator-() [7/9]

AFAPI dim4 operator- ( const dim4 first,
const dim4 second 
)

Performs an element-wise subtraction of two dim4 objects.

◆ operator-() [8/9]

AFAPI af::cdouble operator- ( const double &  rhs,
const af::cdouble lhs 
)

◆ operator-() [9/9]

AFAPI af::cfloat operator- ( const double &  rhs,
const af::cfloat lhs 
)

◆ operator/() [1/8]

AFAPI af::cdouble operator/ ( const af::cdouble lhs,
const af::cdouble rhs 
)

◆ operator/() [2/8]

AFAPI af::cdouble operator/ ( const af::cdouble lhs,
const af::cfloat rhs 
)

◆ operator/() [3/8]

AFAPI af::cdouble operator/ ( const af::cdouble lhs,
const double &  rhs 
)

◆ operator/() [4/8]

AFAPI af::cdouble operator/ ( const af::cfloat lhs,
const af::cdouble rhs 
)

◆ operator/() [5/8]

AFAPI af::cfloat operator/ ( const af::cfloat lhs,
const af::cfloat rhs 
)

◆ operator/() [6/8]

AFAPI af::cfloat operator/ ( const af::cfloat lhs,
const double &  rhs 
)

◆ operator/() [7/8]

AFAPI af::cdouble operator/ ( const double &  rhs,
const af::cdouble lhs 
)

◆ operator/() [8/8]

AFAPI af::cfloat operator/ ( const double &  rhs,
const af::cfloat lhs 
)

◆ operator<<() [1/3]

AFAPI std::ostream & operator<< ( std::ostream &  os,
const cdouble in 
)

◆ operator<<() [2/3]

AFAPI std::ostream & operator<< ( std::ostream &  os,
const cfloat in 
)

◆ operator<<() [3/3]

static std::ostream & operator<< ( std::ostream &  ostr,
const dim4 dims 
)
inlinestatic

Prints the elements of the dim4 array separated by spaces.

Parameters
[in,out]ostrAn ostream object
[in]dimsThe dim4 object to be printed
Returns
the reference to the ostr after the dim4 string as been streamed in

Definition at line 124 of file dim4.hpp.

126{
127 ostr << dims[0] << " "
128 << dims[1] << " "
129 << dims[2] << " "
130 << dims[3];
131 return ostr;
132}

◆ operator==() [1/2]

AFAPI bool operator== ( const cdouble lhs,
const cdouble rhs 
)

◆ operator==() [2/2]

AFAPI bool operator== ( const cfloat lhs,
const cfloat rhs 
)

◆ operator>>() [1/3]

AFAPI std::istream & operator>> ( std::istream &  is,
cdouble in 
)

◆ operator>>() [2/3]

AFAPI std::istream & operator>> ( std::istream &  is,
cfloat in 
)

◆ operator>>() [3/3]

static std::istream & operator>> ( std::istream &  istr,
dim4 dims 
)
inlinestatic

Reads 4 dim_t values from an input stream and stores the results in a dim4.

Parameters
[in,out]istrAn istream object
[in]dimsThe dim4 object that will store the values
Returns
The istr object after 4 dim_t values have been read from the input

Definition at line 141 of file dim4.hpp.

142{
143 istr >> dims[0]
144 >> dims[1]
145 >> dims[2]
146 >> dims[3];
147 return istr;
148}

◆ real() [1/2]

AFAPI double real ( af_cdouble  val)

◆ real() [2/2]

AFAPI float real ( af_cfloat  val)

◆ seqElements()

AFAPI size_t seqElements ( const af_seq seq)

Returns the number of elements that the af_seq object represents.

◆ setFFTPlanCacheSize()

AFAPI void setFFTPlanCacheSize ( size_t  cacheSize)

C++ Interface for setting plan cache size.

This function doesn't do anything if called when CPU backend is active. The plans associated with the most recently used array sizes are cached.

Parameters
[in]cacheSizeis the number of plans that shall be cached

◆ timeit()

AFAPI double timeit ( void(*)()  fn)

Variable Documentation

◆ end

AFAPI int end
extern

A special value representing the last value of an axis.

◆ Inf

AFAPI const double Inf
extern

◆ NaN

AFAPI const double NaN
extern

◆ Pi

◆ span

AFAPI seq span
extern

A special value representing the entire axis of an af::array.