A high-performance general-purpose compute library

- Main Page
- Tutorials
- Release Notes
- Examples

Data Structures | Typedefs | Functions | Variables
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.

## Functions
AFAPI array | sum (const array &in, const int dim=-1)
| C++ Interface to sum array elements over a given dimension.
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.
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.
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.
AFAPI array | product (const array &in, const int dim=-1)
| C++ Interface to multiply array elements over a given dimension.
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.
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.
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.
AFAPI array | min (const array &in, const int dim=-1)
| C++ Interface to return the minimum along a given dimension.
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.
AFAPI array | max (const array &in, const int dim=-1)
| C++ Interface to return the maximum along a given dimension.
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.
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.
AFAPI array | allTrue (const array &in, const int dim=-1)
| C++ Interface to check if all values along a given dimension are true.
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.
AFAPI array | anyTrue (const array &in, const int dim=-1)
| C++ Interface to check if any values along a given dimension are true.
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.
AFAPI array | count (const array &in, const int dim=-1)
| C++ Interface to count non-zero values in an array along a given dimension.
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.
template<typename T >
T | sum (const array &in)
| C++ Interface to sum array elements over all dimensions.
template<typename T >
T | sum (const array &in, double nanval)
| C++ Interface to sum array elements over all dimensions, replacing any NaNs with a specified value.
template<typename T >
T | product (const array &in)
| C++ Interface to multiply array elements over the first non-singleton dimension.
template<typename T >
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.
template<typename T >
T | min (const array &in)
| C++ Interface to return the minimum along the first non-singleton dimension.
template<typename T >
T | max (const array &in)
| C++ Interface to return the maximum along the first non-singleton dimension.
template<typename T >
T | allTrue (const array &in)
| C++ Interface to check if all values along the first non-singleton dimension are true.
template<typename T >
T | anyTrue (const array &in)
| C++ Interface to check if any values along the first non-singleton dimension are true.
template<typename T >
T | count (const array &in)
| C++ Interface to count non-zero values along the first non-singleton dimension.
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.
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.
template<typename T >
void | min (T *val, unsigned *idx, const array &in)
| C++ Interface to return the minimum and its location over all dimensions.
template<typename T >
void | max (T *val, unsigned *idx, const array &in)
| C++ Interface to return the maximum and its location over all dimensions.
AFAPI array | accum (const array &in, const int dim=0)
| C++ Interface to evaluate the cumulative sum (inclusive) along a given dimension.
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.
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.
AFAPI array | where (const array &in)
| C++ Interface to locate the indices of the non-zero values in an array.
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.
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.
AFAPI array | sort (const array &in, const unsigned dim=0, const bool isAscending=true)
| C++ Interface to sort an array over a given dimension.
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.
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.
AFAPI array | setUnique (const array &in, const bool is_sorted=false)
| C++ Interface to return the unique values in an array.
AFAPI array | setUnion (const array &first, const array &second, const bool is_unique=false)
| C++ Interface to evaluate the union of two arrays.
AFAPI array | setIntersect (const array &first, const array &second, const bool is_unique=false)
| C++ Interface to evaluate the intersection of two arrays.
array | min (const array &lhs, const array &rhs)
| C++ Interface to find the elementwise minimum between two arrays.
array | min (const array &lhs, const double rhs)
| C++ Interface to find the elementwise minimum between an array and a scalar value.
array | min (const double lhs, const array &rhs)
| C++ Interface to find the elementwise minimum between an array and a scalar value.
array | max (const array &lhs, const array &rhs)
| C++ Interface to find the elementwise maximum between two arrays.
array | max (const array &lhs, const double rhs)
| C++ Interface to find the elementwise maximum between an array and a scalar value.
array | max (const double lhs, const array &rhs)
| C++ Interface to find the elementwise maximum between an array and a scalar value.
array | abs (const array &in)
| C++ Interface to calculate the absolute value.
array | arg (const array &in)
| C++ Interface to calculate the phase angle (in radians) of a complex array.
array | sign (const array &in)
| C++ Interface to return the sign of elements in an array.
array | round (const array &in)
| C++ Interface to round numbers.
array | trunc (const array &in)
| C++ Interface to truncate numbers.
array | floor (const array &in)
| C++ Interface to floor numbers.
array | ceil (const array &in)
| C++ Interface to ceil numbers.
array | sin (const array &in)
| C++ Interface to evaluate the sine function.
array | cos (const array &in)
| C++ Interface to evaluate the cosine function.
array | tan (const array &in)
| C++ Interface to evaluate the tangent function.
array | asin (const array &in)
| C++ Interface to evaluate the inverse sine function.
array | acos (const array &in)
| C++ Interface to evaluate the inverse cosine function.
array | atan (const array &in)
| C++ Interface to evaluate the inverse tangent function.
array | sinh (const array &in)
| C++ Interface to evaluate the hyperbolic sine function.
array | cosh (const array &in)
| C++ Interface to evaluate the hyperbolic cosine function.
array | tanh (const array &in)
| C++ Interface to evaluate the hyperbolic tangent function.
array | asinh (const array &in)
| C++ Interface to evaluate the inverse hyperbolic sine function.
array | acosh (const array &in)
| C++ Interface to evaluate the inverse hyperbolic cosine function.
array | atanh (const array &in)
| C++ Interface to evaluate the inverse hyperbolic tangent function.
array | real (const array &in)
| C++ Interface to return the real part of a complex array.
array | imag (const array &in)
| C++ Interface to return the imaginary part of a complex array.
array | conjg (const array &in)
| C++ Interface to calculate the complex conjugate of an input array.
array | root (const array &nth_root, const array &value)
| C++ Interface to evaluate the nth root.
array | root (const array &nth_root, const double value)
| C++ Interface to evaluate the nth root.
array | root (const double nth_root, const array &value)
| C++ Interface to evaluate the nth root.
array | sigmoid (const array &in)
| C++ Interface to evaluate the logistical sigmoid function.
array | exp (const array &in)
| C++ Interface to evaluate the exponential.
array | expm1 (const array &in)
| C++ Interface to evaluate the exponential of an array minus 1, `exp(in) - 1`.
array | erf (const array &in)
| C++ Interface to evaluate the error function.
array | erfc (const array &in)
| C++ Interface to evaluate the complementary error function.
array | log (const array &in)
| C++ Interface to evaluate the natural logarithm.
array | log1p (const array &in)
| C++ Interface to evaluate the natural logarithm of 1 + input, `ln(1+in)`.
array | log10 (const array &in)
| C++ Interface to evaluate the base 10 logarithm.
array | log2 (const array &in)
| C++ Interface to evaluate the base 2 logarithm.
array | sqrt (const array &in)
| C++ Interface to evaluate the square root.
array | rsqrt (const array &in)
| C++ Interface to evaluate the reciprocal square root.
array | cbrt (const array &in)
| C++ Interface to evaluate the cube root.
array | factorial (const array &in)
| C++ Interface to calculate the factorial.
array | tgamma (const array &in)
| C++ Interface to evaluate the gamma function.
array | lgamma (const array &in)
| C++ Interface to evaluate the logarithm of the absolute value of the gamma function.
array | iszero (const array &in)
| C++ Interface to check which values are zero.
array | isInf (const array &in)
| C++ Interface to check if values are infinite.
array | isNaN (const array &in)
| C++ Interface to check if values are NaN.
AFAPI void | setBackend (const Backend bknd)
AFAPI unsigned | getBackendCount ()
AFAPI int | getAvailableBackends ()
| Returns a flag of all available backends.
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.
AFAPI array | matmulNT (const array &lhs, const array &rhs)
| C++ Interface to multiply two matrices.
AFAPI array | matmulTN (const array &lhs, const array &rhs)
| C++ Interface to multiply two matrices.
AFAPI array | matmulTT (const array &lhs, const array &rhs)
| C++ Interface to multiply two matrices.
AFAPI array | matmul (const array &a, const array &b, const array &c)
| C++ Interface to chain multiply three matrices.
AFAPI array | matmul (const array &a, const array &b, const array &c, const array &d)
| C++ Interface to chain multiply three matrices.
template<typename T >
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.
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.
AFAPI void | transposeInPlace (array &in, const bool conjugate=false)
| C++ Interface to transpose a matrix in-place.
AFAPI int | devicecount ()
| Gets the number of devices.
AFAPI int | deviceget ()
| Gets the current device ID.
AFAPI void | deviceset (const int device)
| Sets the current device.
AFAPI array | loadimage (const char *filename, const bool is_color=false)
| C++ Interface for loading an image.
AFAPI void | saveimage (const char *filename, const array &in)
| C++ Interface for saving an image.
AFAPI array | gaussiankernel (const int rows, const int cols, const double sig_r=0, const double sig_c=0)
| Creates a Gaussian Kernel
template<typename T >
T | alltrue (const array &in)
| C++ Interface to check if all values along the first non-singleton dimension are true.
template<typename T >
T | anytrue (const array &in)
| C++ Interface to check if all values along the first non-singleton dimension are true.
AFAPI array | alltrue (const array &in, const int dim=-1)
| C++ Interface to check if all values along a given dimension are true.
AFAPI array | anytrue (const array &in, const int dim=-1)
| C++ Interface to check if any values along a given dimension are true.
AFAPI array | setunique (const array &in, const bool is_sorted=false)
| C++ Interface to return the unique values in an array.
AFAPI array | setunion (const array &first, const array &second, const bool is_unique=false)
| C++ Interface to evaluate the union of two arrays.
AFAPI array | setintersect (const array &first, const array &second, const bool is_unique=false)
| C++ Interface to evaluate the intersection of two arrays.
AFAPI array | histequal (const array &in, const array &hist)
| C++ Interface for histogram equalization.
AFAPI array | colorspace (const array &image, const CSpace to, const CSpace from)
| C++ Interface wrapper for colorspace conversion.
AFAPI array | filter (const array &image, const array &kernel)
| Image Filtering.
AFAPI array | mul (const array &in, const int dim=-1)
| C++ Interface to multiply array elements over a given dimension.
template<typename T >
T | mul (const array &in)
| C++ Interface to multiply array elements over the first non-singleton dimension.
AFAPI void | deviceprop (char *d_name, char *d_platform, char *d_toolkit, char *d_compute)
| Gets the information about device and platform as strings
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.
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.
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.
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.
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.
AFAPI array | identity (const dim4 &dims, const dtype ty=f32)
| C++ Interface to generate an identity array.
AFAPI array | identity (const dim_t d0, const dtype ty=f32)
| C++ Interface to generate a 1-D identity array.
AFAPI array | identity (const dim_t d0, const dim_t d1, const dtype ty=f32)
| C++ Interface to generate a 2-D identity array.
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.
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.
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`.
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.
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.
AFAPI array | diag (const array &in, const int num=0, const bool extract=true)
| C++ Interface to extract the diagonal from an array.
AFAPI array | join (const int dim, const array &first, const array &second)
| C++ Interface to join 2 arrays along a dimension.
AFAPI array | join (const int dim, const array &first, const array &second, const array &third)
| C++ Interface to join 3 arrays along a dimension.
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.
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.
AFAPI array | tile (const array &in, const dim4 &dims)
| C++ Interface to generate a tiled array.
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.
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.
AFAPI array | moddims (const array &in, const dim4 &dims)
| C++ Interface to modify the dimensions of an input array to a specified shape.
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.
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.
AFAPI array | flat (const array &in)
| C++ Interface to flatten an array.
AFAPI array | flip (const array &in, const unsigned dim)
| C++ Interface to flip an array.
AFAPI array | lower (const array &in, bool is_unit_diag=false)
| C++ Interface to return the lower triangle array.
AFAPI array | upper (const array &in, bool is_unit_diag=false)
| C++ Interface to return the upper triangle array.
AFAPI array | select (const array &cond, const array &a, const array &b)
| C++ Interface to select elements based on a conditional array.
AFAPI array | select (const array &cond, const array &a, const double &b)
| C++ Interface to select elements based on a conditional array.
AFAPI array | select (const array &cond, const double &a, const array &b)
| C++ Interface to select elements based on a conditional array.
AFAPI void | replace (array &a, const array &cond, const array &b)
| C++ Interface to replace elements of an array with elements of another array.
AFAPI void | replace (array &a, const array &cond, const double &b)
| C++ Interface to replace elements of an array with a scalar value.
AFAPI array | pad (const array &in, const dim4 &beginPadding, const dim4 &endPadding, const borderType padFillType)
| C++ Interface to pad an array.
AFAPI void | replace (array &a, const array &cond, const long long b)
| C++ Interface to replace elements of an array with a scalar value.
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.
AFAPI array | select (const array &cond, const array &a, const long long b)
| C++ Interface to select elements based on a conditional array.
AFAPI array | select (const array &cond, const array &a, const unsigned long long b)
| C++ Interface to select elements based on a conditional array.
AFAPI array | select (const array &cond, const long long a, const array &b)
| C++ Interface to select elements based on a conditional array.
AFAPI array | select (const array &cond, const unsigned long long a, const array &b)
| C++ Interface to select elements based on a conditional array.
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)
| Gets the information about device and platform as strings
AFAPI int | getDeviceCount ()
| Gets the number of devices.
AFAPI int | getDevice ()
| Gets the current device ID.
AFAPI bool | isDoubleAvailable (const int device)
| Queries the current device for double precision floating point support.
AFAPI bool | isHalfAvailable (const int device)
| Queries the current device for half precision floating point support.
AFAPI void | setDevice (const int device)
| Sets the current device.
AFAPI void | sync (const int device=-1)
| Blocks until the `device` is finished processing.
AFAPI void | free (const void *ptr)
| Returns memory to ArrayFire's memory manager. The memory will return to the memory pool.
AFAPI void | freeV2 (const void *ptr)
| Returns memory to ArrayFire's memory manager. The memory will return to the memory pool.
AFAPI void | freePinned (const void *ptr)
| Free pinned memory allocated by ArrayFire's memory manager
AFAPI void * | allocHost (const size_t elements, const dtype type)
| Allocate memory on host.
template<typename T >
AFAPI T * | allocHost (const size_t elements)
| Allocate memory on host.
AFAPI void | freeHost (const void *ptr)
| Free memory allocated internally by ArrayFire.
AFAPI void | setMemStepSize (const size_t size)
| Set the resolution of memory chunks.
AFAPI size_t | getMemStepSize ()
| Get the resolution of memory chunks.
AFAPI dim4 | operator+ (const dim4 &first, const dim4 &second)
| Performs an element-wise addition of two dim4 objects.
AFAPI dim4 | operator- (const dim4 &first, const dim4 &second)
| Performs an element-wise subtraction of two dim4 objects.
AFAPI dim4 | operator* (const dim4 &first, const dim4 &second)
| Performs an element-wise multiplication of two dim4 objects.
static std::ostream & | operator<< (std::ostream &ostr, const dim4 &dims)
| Prints the elements of the dim4 array separated by spaces.
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.
AFAPI bool | isSpan (const af_seq &seq)
| Returns true if the af_seq object represents the entire range of an axis.
AFAPI size_t | seqElements (const af_seq &seq)
| Returns the number of elements that the af_seq object represents.
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.
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.
AFAPI array | loadImage (const char *filename, const bool is_color=false)
| C++ Interface for loading an image.
AFAPI void | saveImage (const char *filename, const array &in)
| C++ Interface for saving an image.
AFAPI array | loadImageMem (const void *ptr)
| C++ Interface for loading an image from memory.
AFAPI void * | saveImageMem (const array &in, const imageFormat format=AF_FIF_PNG)
| C++ Interface for saving an image to memory.
AFAPI void | deleteImageMem (void *ptr)
| C++ Interface for deleting memory created by saveImageMem or af_save_image_memory.
AFAPI array | loadImageNative (const char *filename)
| C++ Interface for loading an image as its original type.
AFAPI void | saveImageNative (const char *filename, const array &in)
| C++ Interface for saving an image without modifications.
AFAPI bool | isImageIOAvailable ()
| Function to check if Image IO is available.
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.
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.
AFAPI array | resize (const float scale, const array &in, const interpType method=AF_INTERP_NEAREST)
| C++ Interface for resizing an image to specified scale.
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.
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.
AFAPI array | transformCoordinates (const array &tf, const float d0, const float d1)
| C++ Interface for transforming coordinates.
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.
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.
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.
AFAPI array | bilateral (const array &in, const float spatial_sigma, const float chromatic_sigma, const bool is_color=false)
| C++ Interface for bilateral filter.
AFAPI array | histogram (const array &in, const unsigned nbins, const double minval, const double maxval)
| C++ Interface for histogram.
AFAPI array | histogram (const array &in, const unsigned nbins)
| C++ Interface for histogram.
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.
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.
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.
AFAPI array | dilate (const array &in, const array &mask)
| C++ Interface for image dilation (max filter)
AFAPI array | dilate3 (const array &in, const array &mask)
| C++ Interface for 3D image dilation.
AFAPI array | erode (const array &in, const array &mask)
| C++ Interface for image erosion (min filter)
AFAPI array | erode3 (const array &in, const array &mask)
| C++ Interface for 3d for image erosion.
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.
AFAPI void | sobel (array &dx, array &dy, const array &img, const unsigned ker_size=3)
| C++ Interface for extracting sobel gradients.
AFAPI array | sobel (const array &img, const unsigned ker_size=3, const bool isFast=false)
| C++ Interface for sobel filtering.
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.
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.
AFAPI array | histEqual (const array &in, const array &hist)
| C++ Interface for histogram equalization.
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.
AFAPI array | hsv2rgb (const array &in)
| C++ Interface for converting HSV to RGB.
AFAPI array | rgb2hsv (const array &in)
| C++ Interface for converting RGB to HSV.
AFAPI array | colorSpace (const array &image, const CSpace to, const CSpace from)
| C++ Interface wrapper for colorspace conversion.
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)
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.
AFAPI array | sat (const array &in)
| C++ Interface wrapper for summed area tables.
AFAPI array | ycbcr2rgb (const array &in, const YCCStd standard=AF_YCC_601)
| C++ Interface for converting YCbCr to RGB.
AFAPI array | rgb2ycbcr (const array &in, const YCCStd standard=AF_YCC_601)
| C++ Interface for converting RGB to YCbCr.
AFAPI void | moments (double *out, const array &in, const momentType moment=AF_MOMENT_FIRST_ORDER)
| C++ Interface for calculating an image moment.
AFAPI array | moments (const array &in, const momentType moment=AF_MOMENT_FIRST_ORDER)
| C++ Interface for calculating image moments.
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.
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.
AFAPI array | iterativeDeconv (const array &in, const array &ker, const unsigned iterations, const float relaxFactor, const iterativeDeconvAlgo algo)
| C++ Interface for Iterative deconvolution algorithm.
AFAPI array | inverseDeconv (const array &in, const array &psf, const float gamma, const inverseDeconvAlgo algo)
| C++ Interface for Tikhonov deconvolution algorithm.
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.
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.
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.
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.
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.
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.
AFAPI void | svdInPlace (array &u, array &s, array &vt, array &in)
| C++ Interface to perform in-place singular value decomposition.
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.
AFAPI void | lu (array &lower, array &upper, array &pivot, const array &in)
| C++ Interface to perform LU decomposition.
AFAPI void | luInPlace (array &pivot, array &in, const bool is_lapack_piv=true)
| C++ Interface to perform in-place LU decomposition.
AFAPI void | qr (array &out, array &tau, const array &in)
| C++ Interface to perform QR decomposition in packed format.
AFAPI void | qr (array &q, array &r, array &tau, const array &in)
| C++ Interface to perform QR decomposition.
AFAPI void | qrInPlace (array &tau, array &in)
| C++ Interface to perform QR decomposition.
AFAPI int | cholesky (array &out, const array &in, const bool is_upper=true)
| C++ Interface to perform Cholesky decomposition.
AFAPI int | choleskyInPlace (array &in, const bool is_upper=true)
| C++ Interface to perform in-place Cholesky decomposition.
AFAPI array | solve (const array &a, const array &b, const matProp options=AF_MAT_NONE)
| C++ Interface to solve a system of equations.
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.
AFAPI array | inverse (const array &in, const matProp options=AF_MAT_NONE)
| C++ Interface to invert a matrix.
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.
AFAPI unsigned | rank (const array &in, const double tol=1E-5)
| C++ Interface to find the rank of a matrix.
template<typename T >
T | det (const array &in)
| C++ Interface to find the determinant of a matrix.
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.
AFAPI bool | isLAPACKAvailable ()
| Returns true if ArrayFire is compiled with LAPACK support.
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.
AFAPI array | randu (const dim4 &dims, const dtype ty, randomEngine &r)
| C++ Interface to create an array of random numbers uniformly distributed.
AFAPI array | randn (const dim4 &dims, const dtype ty, randomEngine &r)
| C++ Interface to create an array of random numbers normally distributed.
AFAPI array | randu (const dim4 &dims, const dtype ty=f32)
| C++ Interface to create an array of random numbers uniformly distributed.
AFAPI array | randu (const dim_t d0, const dtype ty=f32)
| C++ Interface to create an array of random numbers uniformly distributed.
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.
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.
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.
AFAPI array | randn (const dim4 &dims, const dtype ty=f32)
| C++ Interface to create an array of random numbers normally distributed.
AFAPI array | randn (const dim_t d0, const dtype ty=f32)
| C++ Interface to create an array of random numbers normally distributed.
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.
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.
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.
AFAPI void | setDefaultRandomEngineType (randomEngineType rtype)
| C++ Interface to set the default random engine type.
AFAPI randomEngine | getDefaultRandomEngine (void)
| C++ Interface to get the default random engine type.
AFAPI void | setSeed (const unsigned long long seed)
| C++ Interface to set the seed of the default random number generator.
AFAPI unsigned long long | getSeed ()
| C++ Interface to get the seed of the default random number generator.
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.
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.
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.
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.
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.
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.
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.
AFAPI void | fftInPlace (array &in, const double norm_factor=1.0)
| C++ Interface for fast fourier transform on one dimensional signals.
AFAPI void | fft2InPlace (array &in, const double norm_factor=1.0)
| C++ Interface for fast fourier transform on two dimensional signals.
AFAPI void | fft3InPlace (array &in, const double norm_factor=1.0)
| C++ Interface for fast fourier transform on three dimensional signals.
AFAPI array | fft (const array &in, const dim_t odim0=0)
| C++ Interface for fast fourier transform on one dimensional signals.
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.
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.
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.
AFAPI array | dft (const array &in, const dim4 outDims)
| C++ Interface for fast fourier transform on any(1d, 2d, 3d) dimensional signals.
AFAPI array | dft (const array &in)
| C++ Interface for fast fourier transform on any(1d, 2d, 3d) dimensional signals.
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.
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.
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.
AFAPI void | ifftInPlace (array &in, const double norm_factor=1.0)
| C++ Interface for fast fourier transform on one dimensional signals.
AFAPI void | ifft2InPlace (array &in, const double norm_factor=1.0)
| C++ Interface for fast fourier transform on two dimensional signals.
AFAPI void | ifft3InPlace (array &in, const double norm_factor=1.0)
| C++ Interface for fast fourier transform on three dimensional signals.
AFAPI array | ifft (const array &in, const dim_t odim0=0)
| C++ Interface for inverse fast fourier transform on one dimensional signals.
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.
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.
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.
AFAPI array | idft (const array &in, const dim4 outDims)
| C++ Interface for inverse fast fourier transform on any(1d, 2d, 3d) dimensional signals.
AFAPI array | idft (const array &in)
| C++ Interface for inverse fast fourier transform on any(1d, 2d, 3d) dimensional signals.
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.
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.
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.
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.
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.
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.
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.
AFAPI array | convolve2NN (const array &signal, const array &filter, const dim4 stride, const dim4 padding, const dim4 dilation)
| C++ Interface for 2D convolution.
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.
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.
AFAPI array | fftConvolve1 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
| C++ Interface for convolution on 1D signals using FFT.
AFAPI array | fftConvolve2 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
| C++ Interface for convolution on 2D signals using FFT.
AFAPI array | fftConvolve3 (const array &signal, const array &filter, const convMode mode=AF_CONV_DEFAULT)
| C++ Interface for convolution on 3D signals using FFT.
AFAPI array | fir (const array &b, const array &x)
| C++ Interface for finite impulse response filter.
AFAPI array | iir (const array &b, const array &a, const array &x)
| C++ Interface for infinite impulse response filter.
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.
AFAPI array | medfilt1 (const array &in, const dim_t wind_width=3, const borderType edge_pad=AF_PAD_ZERO)
| C++ Interface for median filter.
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.
AFAPI void | setFFTPlanCacheSize (size_t cacheSize)
| C++ Interface for setting plan cache size.
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.
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.
AFAPI array | sparse (const array dense, const af::storage stype=AF_STORAGE_CSR)
| This function converts a dense af::array into a sparse array.
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.
AFAPI array | mean (const array &in, const array &weights, const dim_t dim=-1)
| C++ Interface for mean of weighted inputs.
AFAPI array | var (const array &in, const bool isbiased=false, const dim_t dim=-1)
| C++ Interface for variance.
AFAPI array | var (const array &in, const af_var_bias bias, const dim_t dim=-1)
| C++ Interface for variance.
AFAPI array | var (const array &in, const array &weights, const dim_t dim=-1)
| C++ Interface for variance of weighted inputs.
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.
AFAPI array | stdev (const array &in, const dim_t dim=-1)
| C++ Interface for standard deviation.
AFAPI array | stdev (const array &in, const af_var_bias bias, const dim_t dim=-1)
| C++ Interface for standard deviation.
AFAPI array | cov (const array &X, const array &Y, const bool isbiased=false)
| C++ Interface for covariance.
AFAPI array | cov (const array &X, const array &Y, const af_var_bias bias)
| C++ Interface for covariance.
AFAPI array | median (const array &in, const dim_t dim=-1)
| C++ Interface for median.
template<typename T >
AFAPI T | mean (const array &in)
| C++ Interface for mean of all elements.
template<typename T >
AFAPI T | mean (const array &in, const array &weights)
| C++ Interface for mean of all elements in weighted input.
template<typename T >
AFAPI T | var (const array &in, const bool isbiased=false)
| C++ Interface for variance of all elements.
template<typename T >
AFAPI T | var (const array &in, const af_var_bias bias)
| C++ Interface for variance of all elements.
template<typename T >
AFAPI T | var (const array &in, const array &weights)
| C++ Interface for variance of all elements in weighted input.
template<typename T >
AFAPI T | stdev (const array &in)
| C++ Interface for standard deviation of all elements.
template<typename T >
AFAPI T | stdev (const array &in, const af_var_bias bias)
| C++ Interface for standard deviation of all elements.
template<typename T >
AFAPI T | median (const array &in)
| C++ Interface for median of all elements.
template<typename T >
AFAPI T | corrcoef (const array &X, const array &Y)
| C++ Interface for correlation coefficient.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
AFAPI array | matchTemplate (const array &searchImg, const array &templateImg, const matchType mType=AF_SAD)
| C++ Interface for image template matching.
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.
AFAPI array | dog (const array &in, const int radius1, const int radius2)
| C++ Interface wrapper for Difference of Gaussians.
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.
array | clamp (const array &in, const array &lo, const array &hi)
array | clamp (const array &in, const array &lo, const double hi)
array | clamp (const array &in, const double lo, const array &hi)
array | clamp (const array &in, const double lo, const double hi)
array | rem (const array &lhs, const array &rhs)
array | rem (const array &lhs, const double rhs)
array | rem (const double lhs, const array &rhs)
array | mod (const array &lhs, const array &rhs)
array | mod (const array &lhs, const double rhs)
array | mod (const double lhs, const array &rhs)
array | hypot (const array &lhs, const array &rhs)
| C++ Interface to calculate the length of the hypotenuse of two inputs.
array | hypot (const array &lhs, const double rhs)
| C++ Interface to calculate the length of the hypotenuse of two inputs.
array | hypot (const double lhs, const array &rhs)
| C++ Interface to calculate the length of the hypotenuse of two inputs.
array | atan2 (const array &lhs, const array &rhs)
| C++ Interface to evaluate the inverse tangent of two arrays.
array | atan2 (const array &lhs, const double rhs)
| C++ Interface to evaluate the inverse tangent of two arrays.
array | atan2 (const double lhs, const array &rhs)
| C++ Interface to evaluate the inverse tangent of two arrays.
array | complex (const array &in)
| C++ Interface to create a complex array from a single real array.
array | complex (const array &real_, const array &imag_)
| C++ Interface to create a complex array from two real arrays.
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.
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.
array | pow (const array &base, const array &exponent)
| C++ Interface to raise a base to a power (or exponent).
array | pow (const array &base, const double exponent)
| C++ Interface to raise a base to a power (or exponent).
array | pow (const double base, const array &exponent)
| C++ Interface to raise a base to a power (or exponent).
array | pow2 (const array &in)
| C++ Interface to raise 2 to a power (or exponent).
AFAPI array | operator+ (const array &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const bool &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const int &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const unsigned &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const char &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const unsigned char &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const long &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const unsigned long &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const long long &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const unsigned long long &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const double &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const float &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const cfloat &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const cdouble &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const bool &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const int &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const unsigned &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const char &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const unsigned char &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const long &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const unsigned long &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const long long &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const unsigned long long &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const double &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const float &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const cfloat &rhs)
| Adds two arrays or an array and a value.
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.
AFAPI array | operator+ (const unsigned short &lhs, const array &rhs)
| Adds two arrays or an array and a value.
AFAPI array | operator+ (const array &lhs, const short &rhs)
| Adds two arrays or an array and a value.
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.
AFAPI array | operator- (const bool &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const int &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const unsigned &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const char &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const unsigned char &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const long &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const unsigned long &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const long long &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const unsigned long long &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const double &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const float &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const cfloat &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const cdouble &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const bool &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const int &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const unsigned &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const char &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const unsigned char &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const long &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const unsigned long &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const long long &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const unsigned long long &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const double &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const float &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const cfloat &rhs)
| Subtracts two arrays or an array and a value.
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.
AFAPI array | operator- (const unsigned short &lhs, const array &rhs)
| Subtracts two arrays or an array and a value.
AFAPI array | operator- (const array &lhs, const short &rhs)
| Subtracts two arrays or an array and a value.
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.
AFAPI array | operator* (const bool &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const int &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const unsigned &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const char &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const unsigned char &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const long &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const unsigned long &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const long long &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const unsigned long long &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const double &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const float &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const cfloat &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const cdouble &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const bool &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const int &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const unsigned &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const char &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const unsigned char &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const long &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const unsigned long &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const long long &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const unsigned long long &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const double &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const float &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const cfloat &rhs)
| Multiplies two arrays or an array and a value.
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.
AFAPI array | operator* (const unsigned short &lhs, const array &rhs)
| Multiplies two arrays or an array and a value.
AFAPI array | operator* (const array &lhs, const short &rhs)
| Multiplies two arrays or an array and a value.
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.
AFAPI array | operator/ (const bool &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const int &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const unsigned &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const char &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const unsigned char &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const long &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const unsigned long &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const long long &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const unsigned long long &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const double &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const float &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const cfloat &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const cdouble &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const bool &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const int &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const unsigned &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const char &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const unsigned char &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const long &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const unsigned long &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const long long &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const unsigned long long &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const double &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const float &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const cfloat &rhs)
| Divides two arrays or an array and a value.
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.
AFAPI array | operator/ (const unsigned short &lhs, const array &rhs)
| Divides two arrays or an array and a value.
AFAPI array | operator/ (const array &lhs, const short &rhs)
| Divides two arrays or an array and a value.
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.
AFAPI array | operator== (const bool &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const int &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const unsigned &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const char &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const unsigned char &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const long &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const unsigned long &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const long long &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const unsigned long long &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const double &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const float &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const cfloat &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const cdouble &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const bool &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const int &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const unsigned &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const char &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const unsigned char &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const long &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const unsigned long &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const long long &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const unsigned long long &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const double &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const float &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const cfloat &rhs)
| Performs an equality operation on two arrays or an array and a value.
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.
AFAPI array | operator== (const unsigned short &lhs, const array &rhs)
| Performs an equality operation on two arrays or an array and a value.
AFAPI array | operator== (const array &lhs, const short &rhs)
| Performs an equality operation on two arrays or an array and a value.
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.
AFAPI array | operator!= (const bool &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const int &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const unsigned &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const char &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const unsigned char &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const long &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const unsigned long &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const long long &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const unsigned long long &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const double &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const float &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const cfloat &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const cdouble &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const bool &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const int &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const unsigned &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const char &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const unsigned char &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const long &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const unsigned long &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const long long &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const unsigned long long &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const double &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const float &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const cfloat &rhs)
| Performs an inequality operation on two arrays or an array and a value.
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.
AFAPI array | operator!= (const unsigned short &lhs, const array &rhs)
| Performs an inequality operation on two arrays or an array and a value.
AFAPI array | operator!= (const array &lhs, const short &rhs)
| Performs an inequality operation on two arrays or an array and a value.
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.
AFAPI array | operator< (const bool &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const int &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const unsigned &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const char &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const unsigned char &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const long &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const unsigned long &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const long long &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
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.
AFAPI array | operator< (const double &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const float &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const cfloat &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const cdouble &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const bool &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const int &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const unsigned &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const char &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const unsigned char &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const long &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const unsigned long &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const long long &rhs)
| Performs a lower than operation on two arrays or an array and a value.
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.
AFAPI array | operator< (const array &lhs, const double &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const float &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const cfloat &rhs)
| Performs a lower than operation on two arrays or an array and a value.
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.
AFAPI array | operator< (const unsigned short &lhs, const array &rhs)
| Performs a lower than operation on two arrays or an array and a value.
AFAPI array | operator< (const array &lhs, const short &rhs)
| Performs a lower than operation on two arrays or an array and a value.
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.
AFAPI array | operator<= (const bool &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const int &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const unsigned &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const char &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
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.
AFAPI array | operator<= (const long &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
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.
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.
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.
AFAPI array | operator<= (const double &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const float &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const cfloat &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const cdouble &lhs, const array &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const array &lhs, const bool &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const array &lhs, const int &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const array &lhs, const unsigned &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const array &lhs, const char &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
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.
AFAPI array | operator<= (const array &lhs, const long &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
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.
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.
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.
AFAPI array | operator<= (const array &lhs, const double &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const array &lhs, const float &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
AFAPI array | operator<= (const array &lhs, const cfloat &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
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.
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.
AFAPI array | operator<= (const array &lhs, const short &rhs)
| Performs an lower or equal operation on two arrays or an array and a value.
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.
AFAPI array | operator> (const bool &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const int &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const unsigned &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const char &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const unsigned char &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const long &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const unsigned long &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const long long &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
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.
AFAPI array | operator> (const double &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const float &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const cfloat &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const cdouble &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const bool &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const int &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const unsigned &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const char &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const unsigned char &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const long &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const unsigned long &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const long long &rhs)
| Performs an greater than operation on two arrays or an array and a value.
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.
AFAPI array | operator> (const array &lhs, const double &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const float &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const cfloat &rhs)
| Performs an greater than operation on two arrays or an array and a value.
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.
AFAPI array | operator> (const unsigned short &lhs, const array &rhs)
| Performs an greater than operation on two arrays or an array and a value.
AFAPI array | operator> (const array &lhs, const short &rhs)
| Performs an greater than operation on two arrays or an array and a value.
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.
AFAPI array | operator>= (const bool &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const int &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const unsigned &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const char &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
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.
AFAPI array | operator>= (const long &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
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.
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.
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.
AFAPI array | operator>= (const double &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const float &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const cfloat &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const cdouble &lhs, const array &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const array &lhs, const bool &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const array &lhs, const int &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const array &lhs, const unsigned &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const array &lhs, const char &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
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.
AFAPI array | operator>= (const array &lhs, const long &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
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.
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.
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.
AFAPI array | operator>= (const array &lhs, const double &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const array &lhs, const float &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
AFAPI array | operator>= (const array &lhs, const cfloat &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
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.
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.
AFAPI array | operator>= (const array &lhs, const short &rhs)
| Performs an greater or equal operation on two arrays or an array and a value.
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.
AFAPI array | operator|| (const bool &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const int &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const unsigned &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const char &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const unsigned char &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const long &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const unsigned long &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const long long &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
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.
AFAPI array | operator|| (const double &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const float &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const cfloat &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const cdouble &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const bool &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const int &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const unsigned &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const char &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const unsigned char &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const long &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const unsigned long &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const long long &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
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.
AFAPI array | operator|| (const array &lhs, const double &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const float &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const cfloat &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
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.
AFAPI array | operator|| (const unsigned short &lhs, const array &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
AFAPI array | operator|| (const array &lhs, const short &rhs)
| Performs an logical OR operation on two arrays or an array and a value.
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.
AFAPI array | operator% (const bool &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const int &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const unsigned &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const char &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const unsigned char &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const long &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const unsigned long &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const long long &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const unsigned long long &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const double &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const float &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const cfloat &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const cdouble &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const bool &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const int &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const unsigned &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const char &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const unsigned char &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const long &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const unsigned long &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const long long &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const unsigned long long &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const double &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const float &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const cfloat &rhs)
| Performs an modulo operation on two arrays or an array and a value.
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.
AFAPI array | operator% (const unsigned short &lhs, const array &rhs)
| Performs an modulo operation on two arrays or an array and a value.
AFAPI array | operator% (const array &lhs, const short &rhs)
| Performs an modulo operation on two arrays or an array and a value.
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.
AFAPI array | operator| (const bool &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const int &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const unsigned &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const char &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const unsigned char &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const long &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const unsigned long &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const long long &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
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.
AFAPI array | operator| (const double &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const float &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const cfloat &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const cdouble &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const bool &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const int &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const unsigned &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const char &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const unsigned char &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const long &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const unsigned long &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const long long &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
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.
AFAPI array | operator| (const array &lhs, const double &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const float &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const cfloat &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
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.
AFAPI array | operator| (const unsigned short &lhs, const array &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
AFAPI array | operator| (const array &lhs, const short &rhs)
| Performs an bitwise OR operation on two arrays or an array and a value.
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.
AFAPI array | operator^ (const bool &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const int &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const unsigned &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const char &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const unsigned char &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const long &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const unsigned long &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const long long &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
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.
AFAPI array | operator^ (const double &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const float &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const cfloat &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const cdouble &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const bool &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const int &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const unsigned &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const char &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const unsigned char &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const long &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const unsigned long &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const long long &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
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.
AFAPI array | operator^ (const array &lhs, const double &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const float &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const cfloat &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
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.
AFAPI array | operator^ (const unsigned short &lhs, const array &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
AFAPI array | operator^ (const array &lhs, const short &rhs)
| Performs an bitwise XOR operation on two arrays or an array and a value.
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.
AFAPI array | operator<< (const bool &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const int &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const unsigned &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const char &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const unsigned char &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const long &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const unsigned long &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const long long &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
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.
AFAPI array | operator<< (const double &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const float &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const cfloat &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const cdouble &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const bool &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const int &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const unsigned &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const char &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const unsigned char &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const long &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const unsigned long &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const long long &rhs)
| Performs an left shift operation on two arrays or an array and a value.
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.
AFAPI array | operator<< (const array &lhs, const double &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const float &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const cfloat &rhs)
| Performs an left shift operation on two arrays or an array and a value.
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.
AFAPI array | operator<< (const unsigned short &lhs, const array &rhs)
| Performs an left shift operation on two arrays or an array and a value.
AFAPI array | operator<< (const array &lhs, const short &rhs)
| Performs an left shift operation on two arrays or an array and a value.
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.
AFAPI array | operator>> (const bool &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const int &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const unsigned &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const char &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const unsigned char &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const long &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const unsigned long &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const long long &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
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.
AFAPI array | operator>> (const double &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const float &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const cfloat &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const cdouble &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const bool &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const int &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const unsigned &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const char &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const unsigned char &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const long &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const unsigned long &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const long long &rhs)
| Performs an right shift operation on two arrays or an array and a value.
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.
AFAPI array | operator>> (const array &lhs, const double &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const float &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const cfloat &rhs)
| Performs an right shift operation on two arrays or an array and a value.
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.
AFAPI array | operator>> (const unsigned short &lhs, const array &rhs)
| Performs an right shift operation on two arrays or an array and a value.
AFAPI array | operator>> (const array &lhs, const short &rhs)
| Performs an right shift operation on two arrays or an array and a value.
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.
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.
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)
array & | eval (array &a)
| Evaluate an expression (nonblocking).
AFAPI void | eval (int num, array **arrays)
| Evaluate multiple arrays simultaneously.
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 array & | eval (const array &a)
| Evaluate an expression (nonblocking).
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.
AFAPI bool | getManualEvalFlag ()
| Get the manual eval flag.
AFAPI void * | alloc (const size_t elements, const dtype type)
| Allocates memory using ArrayFire's memory manager.
AFAPI void * | allocV2 (const size_t bytes)
| Allocates memory using ArrayFire's memory manager.
template<typename T >
T * | alloc (const size_t elements)
| Allocates memory using ArrayFire's memory manager.
AFAPI void * | pinned (const size_t elements, const dtype type)
| Allocate pinned memory using ArrayFire's memory manager.
template<typename T >
T * | pinned (const size_t elements)
| Allocate pinned memory using ArrayFire's memory manager.
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.
AFAPI void | printMemInfo (const char *msg=NULL, const int device_id=-1)
| Prints buffer details from the ArrayFire Device Manager.
AFAPI void | deviceGC ()
| Call the garbage collection function in the memory manager.

## 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.
AFAPI seq | span
| A special value representing the entire axis of an af::array.

## Typedef Documentation

## ◆ af_cdouble

typedef struct af::af_cdouble af_cdouble

## ◆ af_cfloat

typedef struct af::af_cfloat af_cfloat

## ◆ Backend

typedef af_backend 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

typedef af_binary_op binaryOp

Definition at line 586 of file defines.h.

## ◆ borderType

typedef af_border_type borderType

Definition at line 556 of file defines.h.

## ◆ cannyThreshold

typedef af_canny_threshold cannyThreshold

Definition at line 592 of file defines.h.

## ◆ cdouble

typedef af::af_cdouble cdouble

Definition at line 45 of file complex.h.

## ◆ cfloat

typedef af::af_cfloat cfloat

Definition at line 44 of file complex.h.

## ◆ ColorMap

typedef af_colormap ColorMap

Definition at line 565 of file defines.h.

## ◆ connectivity

typedef af_connectivity connectivity

Definition at line 557 of file defines.h.

## ◆ convDomain

typedef af_conv_domain convDomain

Definition at line 563 of file defines.h.

## ◆ convGradientType

typedef af_conv_gradient_type convGradientType

Definition at line 603 of file defines.h.

## ◆ convMode

typedef af_conv_mode convMode

Definition at line 562 of file defines.h.

## ◆ CSpace

typedef af_cspace_t CSpace

Definition at line 559 of file defines.h.

## ◆ diffusionEq

typedef af_diffusion_eq diffusionEq

Definition at line 596 of file defines.h.

## ◆ dtype

typedef af_dtype dtype

Definition at line 553 of file defines.h.

## ◆ fluxFunction

typedef af_flux_function fluxFunction

Definition at line 595 of file defines.h.

## ◆ half

typedef af_half half

Definition at line 26 of file half.h.

## ◆ imageFormat

typedef af_image_format imageFormat

Definition at line 571 of file defines.h.

## ◆ interpType

typedef af_interp_type interpType

Definition at line 555 of file defines.h.

## ◆ inverseDeconvAlgo

typedef af_inverse_deconv_algo inverseDeconvAlgo

Definition at line 602 of file defines.h.

## ◆ iterativeDeconvAlgo

typedef af_iterative_deconv_algo iterativeDeconvAlgo

Definition at line 601 of file defines.h.

## ◆ markerType

typedef af_marker_type markerType

Definition at line 577 of file defines.h.

## ◆ matchType

typedef af_match_type matchType

Definition at line 558 of file defines.h.

## ◆ matProp

typedef af_mat_prop matProp

Definition at line 564 of file defines.h.

## ◆ momentType

typedef af_moment_type momentType

Definition at line 580 of file defines.h.

## ◆ normType

typedef af_norm_type normType

Definition at line 566 of file defines.h.

## ◆ randomEngineType

typedef af_random_engine_type randomEngineType

Definition at line 589 of file defines.h.

## ◆ SomeEnum

typedef af_someenum_t SomeEnum

Definition at line 560 of file defines.h.

## ◆ source

typedef af_source source

Definition at line 554 of file defines.h.

## ◆ storage

typedef af_storage storage

Definition at line 583 of file defines.h.

## ◆ timer

typedef struct af::timer timer

Internal timer object.

## ◆ topkFunction

typedef af_topk_function topkFunction

Definition at line 597 of file defines.h.

## ◆ trans

typedef af_mat_prop trans

Definition at line 561 of file defines.h.

## ◆ varBias

typedef af_var_bias 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_out | reduced keys
  [out] | vals_out | array containing 1's if all true; 0's otherwise
  [in] | keys | keys array
  [in] | vals | input array
  [in] | dim | dimension 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);
af::filter
AFAPI array filter(const array &image, const array &kernel)
Image Filtering.

Parameters

  [in] | image |
  [in] | kernel | coefficient 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] | in | An 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()

array log2 | ( | const array & | in | ) |

C++ Interface to evaluate the base 2 logarithm.

Parameters

  [in] | in | input

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] | mean | The mean of the input array along `dim` dimension
  [out] | var | The variance of the input array along the `dim` dimension
  [in] | in | The input array
  [in] | weights | The weights to scale the input array before calculating the mean and varience. If empty, the input is not scaled
  [in] | bias | The type of bias used for variance calculation
  [in] | dim | The 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 )
| inline static

Prints the elements of the dim4 array separated by spaces.

Parameters

  [in,out] | ostr | An ostream object
  [in] | dims | The 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 )
| inline static

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

Parameters

  [in,out] | istr | An istream object
  [in] | dims | The 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] | cacheSize | is 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

AFAPI const double Pi
| extern

Examples
  graphics/plot2d.cpp, image_processing/brain_segmentation.cpp, image_processing/filters.cpp, and machine_learning/naive_bayes.cpp.

## ◆ span

AFAPI seq span
| extern

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