the C interface for alltrue More...

All Elements

Parameters
[out]countScalar and on host
[in]numelThe number of elements in the vector.
[in]matThe input stream
afError af_alltrue_vector_S (bool *h_dst, unsigned numel, const float *d_src)
 all along single precision vector More...
 
afError af_alltrue_vector_B (bool *h_dst, unsigned numel, const bool *d_src)
 all along boolean vector More...
 
afError af_alltrue_vector_I (bool *h_dst, unsigned numel, const int *d_src)
 all along 32-bit signed integer vector More...
 
afError af_alltrue_vector_U (bool *h_dst, unsigned numel, const unsigned *d_src)
 all along 32-bit unsigned integer vector More...
 
afError af_alltrue_vector_C (bool *h_dst, unsigned numel, const cfloat *d_src)
 all along single precision, complex vector More...
 
afError af_alltrue_vector_D (bool *h_dst, unsigned numel, const double *d_src)
 all along double precision vector More...
 
afError af_alltrue_vector_Z (bool *h_dst, unsigned numel, const cdouble *d_src)
 all along double precision, complex vector More...
 
afError af_anytrue_vector_S (bool *h_dst, unsigned numel, const float *d_src)
 any along single precision vector More...
 
afError af_anytrue_vector_B (bool *h_dst, unsigned numel, const bool *d_src)
 any along boolean vector More...
 
afError af_anytrue_vector_I (bool *h_dst, unsigned numel, const int *d_src)
 any along 32-bit signed integer vector More...
 
afError af_anytrue_vector_U (bool *h_dst, unsigned numel, const unsigned *d_src)
 any along 32-bit unsigned integer vector More...
 
afError af_anytrue_vector_C (bool *h_dst, unsigned numel, const cfloat *d_src)
 any along single precision, complex vector More...
 
afError af_anytrue_vector_D (bool *h_dst, unsigned numel, const double *d_src)
 any along double precision vector More...
 
afError af_anytrue_vector_Z (bool *h_dst, unsigned numel, const cdouble *d_src)
 any along double precision, complex vector More...
 
afError af_max_vector_S (float *h_dst, unsigned numel, const float *d_src)
 Maximum value of a single precision vector. More...
 
afError af_max_vector_B (bool *h_dst, unsigned numel, const bool *d_src)
 Maximum value of a boolean vector. More...
 
afError af_max_vector_I (int *h_dst, unsigned numel, const int *d_src)
 Maximum value of a 32-bit signed integer vector. More...
 
afError af_max_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src)
 Maximum value of a 32-bit unsigned integer vector. More...
 
afError af_max_vector_C (cfloat *h_dst, unsigned numel, const cfloat *d_src)
 Maximum value of a single precision, complex vector. More...
 
afError af_max_vector_D (double *h_dst, unsigned numel, const double *d_src)
 Maximum value of a double precision vector. More...
 
afError af_max_vector_Z (cdouble *h_dst, unsigned numel, const cdouble *d_src)
 Maximum value of a double precision, complex vector. More...
 
afError af_imax_vector_S (float *h_dst, int *h_idx, unsigned numel, const float *d_src, bool is_baseone=false)
 Indexed maximum value of a single precision vector. More...
 
afError af_imax_vector_I (int *h_dst, int *h_idx, unsigned numel, const int *d_src, bool is_baseone=false)
 Indexed maximum value of a 32-bit signed integer vector. More...
 
afError af_imax_vector_U (unsigned *h_dst, int *h_idx, unsigned numel, const unsigned *d_src, bool is_baseone=false)
 Indexed maximum value of a 32-bit unsigned integer vector. More...
 
afError af_imax_vector_B (bool *h_dst, int *h_idx, unsigned numel, const bool *d_src, bool is_baseone=false)
 Indexed maximum value of a boolean vector. More...
 
afError af_imax_vector_C (cfloat *h_dst, int *h_idx, unsigned numel, const cfloat *d_src, bool is_baseone=false)
 Indexed maximum value of a single precision, complex vector. More...
 
afError af_imax_vector_D (double *h_dst, int *h_idx, unsigned numel, const double *d_src, bool is_baseone=false)
 Indexed maximum value of a double precision vector. More...
 
afError af_imax_vector_Z (cdouble *h_dst, int *h_idx, unsigned numel, const cdouble *d_src, bool is_baseone=false)
 Indexed maximum value of a double precision, complex vector. More...
 
afError af_min_vector_S (float *h_dst, unsigned numel, const float *d_src)
 Minimum value of a single precision vector. More...
 
afError af_min_vector_B (bool *h_dst, unsigned numel, const bool *d_src)
 Minimum value of a boolean vector. More...
 
afError af_min_vector_I (int *h_dst, unsigned numel, const int *d_src)
 Minimum value of a 32-bit signed integer vector. More...
 
afError af_min_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src)
 Minimum value of a 32-bit unsigned integer vector. More...
 
afError af_min_vector_C (cfloat *h_dst, unsigned numel, const cfloat *d_src)
 Minimum value of a single precision, complex vector. More...
 
afError af_min_vector_D (double *h_dst, unsigned numel, const double *d_src)
 Minimum value of a double precision vector. More...
 
afError af_min_vector_Z (cdouble *h_dst, unsigned numel, const cdouble *d_src)
 Minimum value of a double precision, complex vector. More...
 
afError af_imin_vector_S (float *h_dst, int *h_idx, unsigned numel, const float *d_src, bool is_baseone=false)
 Indexed minimum value of a single precision vector,. More...
 
afError af_imin_vector_I (int *h_dst, int *h_idx, unsigned numel, const int *d_src, bool is_baseone=false)
 Indexed minimum value of a 32-bit signed integer vector,. More...
 
afError af_imin_vector_U (unsigned *h_dst, int *h_idx, unsigned numel, const unsigned *d_src, bool is_baseone=false)
 Indexed minimum value of a 32-bit unsigned integer vector,. More...
 
afError af_imin_vector_B (bool *h_dst, int *h_idx, unsigned numel, const bool *d_src, bool is_baseone=false)
 Indexed minimum value of a boolean vector. More...
 
afError af_imin_vector_C (cfloat *h_dst, int *h_idx, unsigned numel, const cfloat *d_src, bool is_baseone=false)
 Indexed minimum value of a single precision, complex vector. More...
 
afError af_imin_vector_D (double *h_dst, int *h_idx, unsigned numel, const double *d_src, bool is_baseone=false)
 Indexed minimum value of a double precision vector. More...
 
afError af_imin_vector_Z (cdouble *h_dst, int *h_idx, unsigned numel, const cdouble *d_src, bool is_baseone=false)
 Indexed minimum value of a double precision, complex vector. More...
 
afError af_minmax_vector_S (float2 *h_dst, unsigned numel, const float *d_src)
 Minimum and maximum value of a single precision vector. More...
 
afError af_minmax_vector_D (double2 *h_dst, unsigned numel, const double *d_src)
 Minimum and maximum value of a single precision vector. More...
 
afError af_sum_vector_S (float *h_dst, unsigned numel, const float *d_src)
 sum The value of a single precision vector More...
 
afError af_sum_vector_B (float *h_dst, unsigned numel, const bool *d_src)
 sum The value of a boolean vector More...
 
afError af_sum_vector_I (int *h_dst, unsigned numel, const int *d_src)
 sum The value of a 32-bit signed integer vector More...
 
afError af_sum_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src)
 sum The value of a 32-bit unsigned integer vector More...
 
afError af_sum_vector_C (cfloat *h_dst, unsigned numel, const cfloat *d_src)
 sum The value of a single precision, complex vector More...
 
afError af_sum_vector_D (double *h_dst, unsigned numel, const double *d_src)
 sum The value of a double precision vector More...
 
afError af_sum_vector_Z (cdouble *h_dst, unsigned numel, const cdouble *d_src)
 sum The value of a double precision, complex vector More...
 
afError af_mul_vector_S (float *h_dst, unsigned numel, const float *d_src)
 multiplication of the values of a single precision vector More...
 
afError af_mul_vector_I (int *h_dst, unsigned numel, const int *d_src)
 multiplication of the values of a 32-bit signed integer vector More...
 
afError af_mul_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src)
 multiplication of the values of a 32-bit unsigned integer vector More...
 
afError af_mul_vector_B (float *h_dst, unsigned numel, const bool *d_src)
 multiplication of the values of a boolean vector More...
 
afError af_mul_vector_C (cfloat *h_dst, unsigned numel, const cfloat *d_src)
 multiplication of the values of a single precision, complex vector More...
 
afError af_mul_vector_D (double *h_dst, unsigned numel, const double *d_src)
 multiplication of the values of a double precision vector More...
 
afError af_mul_vector_Z (cdouble *h_dst, unsigned numel, const cdouble *d_src)
 multiplication of the values of a double precision, complex vector More...
 
afError af_nnz_vector_S (unsigned *count, unsigned numel, const float *mat)
 Number of non zero elements in a single precision stream. More...
 
afError af_nnz_vector_B (unsigned *count, unsigned numel, const bool *mat)
 Number of non zero elements in a boolean (unsigned char) stream. More...
 
afError af_nnz_vector_D (unsigned *count, unsigned numel, const double *mat)
 Number of non zero elements in a double precision stream. More...
 

Along a Dimension

Parameters
[out]countvector and on device
[in]numelThe number of elements in the vector.
[in]matThe input stream
[in]batchThe number of input tiles.
afError af_alltrue_S (bool *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 all along a dimension in single precision matrix More...
 
afError af_alltrue_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim)
 all along a dimension in boolean matrix More...
 
afError af_alltrue_I (bool *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim)
 all along a dimension in 32-bit signed integer matrix More...
 
afError af_alltrue_U (bool *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim)
 all along a dimension in 32-bit unsigned integer matrix More...
 
afError af_alltrue_C (bool *d_dst, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim)
 all along a dimension in single precision, complex matrix More...
 
afError af_alltrue_D (bool *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 all along a dimension in double precision matrix More...
 
afError af_alltrue_Z (bool *d_dst, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim)
 all along a dimension in double precision, complex matrix More...
 
afError af_anytrue_S (bool *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 any along a dimension in single precision matrix More...
 
afError af_anytrue_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim)
 any along a dimension in boolean matrix More...
 
afError af_anytrue_I (bool *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim)
 any along a dimension in 32-bit signed integer matrix More...
 
afError af_anytrue_U (bool *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim)
 any along a dimension in 32-bit unsigned integer matrix More...
 
afError af_anytrue_C (bool *d_dst, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim)
 any along a dimension in single precision, complex matrix More...
 
afError af_anytrue_D (bool *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 any along a dimension in double precision matrix More...
 
afError af_anytrue_Z (bool *d_dst, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim)
 any along a dimension in double precision, complex matrix More...
 
afError af_max_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 Maximum value along a dimension in single precision matrix. More...
 
afError af_max_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim)
 Maximum value along a dimension in boolean matrix. More...
 
afError af_max_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim)
 Maximum value along a dimension in 32-bit signed integer matrix. More...
 
afError af_max_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim)
 Maximum value along a dimension in 32-bit unsigned integer matrix. More...
 
afError af_max_C (cfloat *d_dst, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim)
 Maximum value along a dimension in single precision, complex matrix. More...
 
afError af_max_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 Maximum value along a dimension in double precision matrix. More...
 
afError af_max_Z (cdouble *d_dst, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim)
 Maximum value along a dimension in double precision, complex matrix. More...
 
afError af_imax_S (float *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const float *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in single precision matrix. More...
 
afError af_imax_I (int *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const int *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in 32-bit signed integer matrix. More...
 
afError af_imax_U (unsigned *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in 32-bit signed integer matrix. More...
 
afError af_imax_B (bool *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const bool *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in boolean matrix. More...
 
afError af_imax_C (cfloat *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in single precision, cplx matrix. More...
 
afError af_imax_D (double *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const double *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in double precision matrix. More...
 
afError af_imax_Z (cdouble *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim, bool is_baseone=false)
 Indexed maximum value along a dimension in double precision, cplx matrix. More...
 
afError af_min_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 Minimum value along a dimension in single precision matrix. More...
 
afError af_min_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim)
 Minimum value along a dimension in boolean matrix. More...
 
afError af_min_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim)
 Minimum value along a dimension in 32-bit signed integer matrix. More...
 
afError af_min_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim)
 Minimum value along a dimension in 32-bit unsigned integer matrix. More...
 
afError af_min_C (cfloat *d_dst, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim)
 Minimum value along a dimension in single precision, complex matrix. More...
 
afError af_min_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 Minimum value along a dimension in double precision matrix. More...
 
afError af_min_Z (cdouble *d_dst, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim)
 Minimum value along a dimension in double precision, complex matrix. More...
 
afError af_imin_S (float *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const float *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in single precision matrix. More...
 
afError af_imin_I (int *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const int *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in 32-bit signed integer matrix. More...
 
afError af_imin_U (unsigned *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in 32-bit unsigned integer matrix. More...
 
afError af_imin_B (bool *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const bool *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in boolean matrix. More...
 
afError af_imin_C (cfloat *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in single precision, cplx matrix. More...
 
afError af_imin_D (double *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const double *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in double precision matrix. More...
 
afError af_imin_Z (cdouble *d_dst, int *d_idx, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim, bool is_baseone=false)
 Indexed minimum value along a dimension in double precision, cplx matrix. More...
 
afError af_minmax_S (float2 *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 Minimum and maximum value along a dimension in single precision matrix. More...
 
afError af_minmax_D (double2 *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 Minimum and maximum value along a dimension in single precision matrix. More...
 
afError af_sum_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 sum the value along a dimension in single precision matrix More...
 
afError af_sum_B (float *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim)
 sum the value along a dimension in boolean matrix More...
 
afError af_sum_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim)
 sum the value along a dimension in 32-bit signed integer matrix More...
 
afError af_sum_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim)
 sum the value along a dimension in 32-bit unsigned integer matrix More...
 
afError af_sum_C (cfloat *d_dst, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim)
 sum the value along a dimension in single precision, complex matrix More...
 
afError af_sum_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 sum the value along a dimension in double precision matrix More...
 
afError af_sum_Z (cdouble *d_dst, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim)
 sum the value along a dimension in double precision, complex matrix More...
 
afError af_mul_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim)
 multiplication of the values along a dimension in single precision matrix More...
 
afError af_mul_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim)
 multiplication of the value along a dimension in 32-bit signed integer matrix More...
 
afError af_mul_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim)
 multiplication of the value along a dimension in 32-bit unsigned integer matrix More...
 
afError af_mul_B (float *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim)
 multiplication of the value along a dimension in boolean matrix More...
 
afError af_mul_C (cfloat *d_dst, unsigned ndims, const unsigned *dims, const cfloat *d_src, int dim)
 multiplication of the values along a dimension in single precision, complex matrix More...
 
afError af_mul_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim)
 multiplication of the values along a dimension in double precision matrix More...
 
afError af_mul_Z (cdouble *d_dst, unsigned ndims, const unsigned *dims, const cdouble *d_src, int dim)
 multiplication of the values along a dimension in double precision, complex matrix More...
 
afError af_nnz_S (unsigned *count, unsigned numel, const float *mat, unsigned batch)
 Number of non zero elements in a single precision stream. More...
 
afError af_nnz_B (unsigned *count, unsigned numel, const bool *mat, unsigned batch)
 Number of non zero elements in a boolean (unsigned char) stream. More...
 
afError af_nnz_D (unsigned *count, unsigned numel, const double *mat, unsigned batch)
 Number of non zero elements in a double precision stream. More...
 

Detailed Description

the C interface for alltrue

Performs a logical boolean and operation over the elements
of an array.

These functions are particularly useful when utilized with
the result of conditions as parameters. In such a case, the
input array to the function is a boolean array.

Similar to the other reduction operations in ArrayFire,
alltrue can also operate a long a given dimension.
bool hx[] = { true, true, false, true };
array x1(4, 1, hx); // 4x1 vector
printf("%d\n", alltrue<bool>(x1)); // 0

Function Documentation

afError af_alltrue_vector_S ( bool *  h_dst,
unsigned  numel,
const float *  d_src 
)

all along single precision vector

afError af_alltrue_vector_B ( bool *  h_dst,
unsigned  numel,
const bool *  d_src 
)

all along boolean vector

afError af_alltrue_vector_I ( bool *  h_dst,
unsigned  numel,
const int *  d_src 
)

all along 32-bit signed integer vector

afError af_alltrue_vector_U ( bool *  h_dst,
unsigned  numel,
const unsigned *  d_src 
)

all along 32-bit unsigned integer vector

afError af_alltrue_vector_C ( bool *  h_dst,
unsigned  numel,
const cfloat d_src 
)

all along single precision, complex vector

afError af_alltrue_vector_D ( bool *  h_dst,
unsigned  numel,
const double *  d_src 
)

all along double precision vector

afError af_alltrue_vector_Z ( bool *  h_dst,
unsigned  numel,
const cdouble d_src 
)

all along double precision, complex vector

afError af_alltrue_S ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

all along a dimension in single precision matrix

afError af_alltrue_B ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim 
)

all along a dimension in boolean matrix

afError af_alltrue_I ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim 
)

all along a dimension in 32-bit signed integer matrix

afError af_alltrue_U ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim 
)

all along a dimension in 32-bit unsigned integer matrix

afError af_alltrue_C ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim 
)

all along a dimension in single precision, complex matrix

afError af_alltrue_D ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

all along a dimension in double precision matrix

afError af_alltrue_Z ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim 
)

all along a dimension in double precision, complex matrix

afError af_anytrue_vector_S ( bool *  h_dst,
unsigned  numel,
const float *  d_src 
)

any along single precision vector

afError af_anytrue_vector_B ( bool *  h_dst,
unsigned  numel,
const bool *  d_src 
)

any along boolean vector

afError af_anytrue_vector_I ( bool *  h_dst,
unsigned  numel,
const int *  d_src 
)

any along 32-bit signed integer vector

afError af_anytrue_vector_U ( bool *  h_dst,
unsigned  numel,
const unsigned *  d_src 
)

any along 32-bit unsigned integer vector

afError af_anytrue_vector_C ( bool *  h_dst,
unsigned  numel,
const cfloat d_src 
)

any along single precision, complex vector

afError af_anytrue_vector_D ( bool *  h_dst,
unsigned  numel,
const double *  d_src 
)

any along double precision vector

afError af_anytrue_vector_Z ( bool *  h_dst,
unsigned  numel,
const cdouble d_src 
)

any along double precision, complex vector

afError af_anytrue_S ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

any along a dimension in single precision matrix

afError af_anytrue_B ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim 
)

any along a dimension in boolean matrix

afError af_anytrue_I ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim 
)

any along a dimension in 32-bit signed integer matrix

afError af_anytrue_U ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim 
)

any along a dimension in 32-bit unsigned integer matrix

afError af_anytrue_C ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim 
)

any along a dimension in single precision, complex matrix

afError af_anytrue_D ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

any along a dimension in double precision matrix

afError af_anytrue_Z ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim 
)

any along a dimension in double precision, complex matrix

afError af_max_vector_S ( float *  h_dst,
unsigned  numel,
const float *  d_src 
)

Maximum value of a single precision vector.

afError af_max_vector_B ( bool *  h_dst,
unsigned  numel,
const bool *  d_src 
)

Maximum value of a boolean vector.

afError af_max_vector_I ( int *  h_dst,
unsigned  numel,
const int *  d_src 
)

Maximum value of a 32-bit signed integer vector.

afError af_max_vector_U ( unsigned *  h_dst,
unsigned  numel,
const unsigned *  d_src 
)

Maximum value of a 32-bit unsigned integer vector.

afError af_max_vector_C ( cfloat h_dst,
unsigned  numel,
const cfloat d_src 
)

Maximum value of a single precision, complex vector.

afError af_max_vector_D ( double *  h_dst,
unsigned  numel,
const double *  d_src 
)

Maximum value of a double precision vector.

afError af_max_vector_Z ( cdouble h_dst,
unsigned  numel,
const cdouble d_src 
)

Maximum value of a double precision, complex vector.

afError af_imax_vector_S ( float *  h_dst,
int *  h_idx,
unsigned  numel,
const float *  d_src,
bool  is_baseone = false 
)

Indexed maximum value of a single precision vector.

afError af_imax_vector_I ( int *  h_dst,
int *  h_idx,
unsigned  numel,
const int *  d_src,
bool  is_baseone = false 
)

Indexed maximum value of a 32-bit signed integer vector.

afError af_imax_vector_U ( unsigned *  h_dst,
int *  h_idx,
unsigned  numel,
const unsigned *  d_src,
bool  is_baseone = false 
)

Indexed maximum value of a 32-bit unsigned integer vector.

afError af_imax_vector_B ( bool *  h_dst,
int *  h_idx,
unsigned  numel,
const bool *  d_src,
bool  is_baseone = false 
)

Indexed maximum value of a boolean vector.

afError af_imax_vector_C ( cfloat h_dst,
int *  h_idx,
unsigned  numel,
const cfloat d_src,
bool  is_baseone = false 
)

Indexed maximum value of a single precision, complex vector.

afError af_imax_vector_D ( double *  h_dst,
int *  h_idx,
unsigned  numel,
const double *  d_src,
bool  is_baseone = false 
)

Indexed maximum value of a double precision vector.

afError af_imax_vector_Z ( cdouble h_dst,
int *  h_idx,
unsigned  numel,
const cdouble d_src,
bool  is_baseone = false 
)

Indexed maximum value of a double precision, complex vector.

afError af_max_S ( float *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

Maximum value along a dimension in single precision matrix.

afError af_max_B ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim 
)

Maximum value along a dimension in boolean matrix.

afError af_max_I ( int *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim 
)

Maximum value along a dimension in 32-bit signed integer matrix.

afError af_max_U ( unsigned *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim 
)

Maximum value along a dimension in 32-bit unsigned integer matrix.

afError af_max_C ( cfloat d_dst,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim 
)

Maximum value along a dimension in single precision, complex matrix.

afError af_max_D ( double *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

Maximum value along a dimension in double precision matrix.

afError af_max_Z ( cdouble d_dst,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim 
)

Maximum value along a dimension in double precision, complex matrix.

afError af_imax_S ( float *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in single precision matrix.

afError af_imax_I ( int *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in 32-bit signed integer matrix.

afError af_imax_U ( unsigned *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in 32-bit signed integer matrix.

afError af_imax_B ( bool *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in boolean matrix.

afError af_imax_C ( cfloat d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in single precision, cplx matrix.

afError af_imax_D ( double *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in double precision matrix.

afError af_imax_Z ( cdouble d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim,
bool  is_baseone = false 
)

Indexed maximum value along a dimension in double precision, cplx matrix.

afError af_min_vector_S ( float *  h_dst,
unsigned  numel,
const float *  d_src 
)

Minimum value of a single precision vector.

afError af_min_vector_B ( bool *  h_dst,
unsigned  numel,
const bool *  d_src 
)

Minimum value of a boolean vector.

afError af_min_vector_I ( int *  h_dst,
unsigned  numel,
const int *  d_src 
)

Minimum value of a 32-bit signed integer vector.

afError af_min_vector_U ( unsigned *  h_dst,
unsigned  numel,
const unsigned *  d_src 
)

Minimum value of a 32-bit unsigned integer vector.

afError af_min_vector_C ( cfloat h_dst,
unsigned  numel,
const cfloat d_src 
)

Minimum value of a single precision, complex vector.

afError af_min_vector_D ( double *  h_dst,
unsigned  numel,
const double *  d_src 
)

Minimum value of a double precision vector.

afError af_min_vector_Z ( cdouble h_dst,
unsigned  numel,
const cdouble d_src 
)

Minimum value of a double precision, complex vector.

afError af_imin_vector_S ( float *  h_dst,
int *  h_idx,
unsigned  numel,
const float *  d_src,
bool  is_baseone = false 
)

Indexed minimum value of a single precision vector,.

afError af_imin_vector_I ( int *  h_dst,
int *  h_idx,
unsigned  numel,
const int *  d_src,
bool  is_baseone = false 
)

Indexed minimum value of a 32-bit signed integer vector,.

afError af_imin_vector_U ( unsigned *  h_dst,
int *  h_idx,
unsigned  numel,
const unsigned *  d_src,
bool  is_baseone = false 
)

Indexed minimum value of a 32-bit unsigned integer vector,.

afError af_imin_vector_B ( bool *  h_dst,
int *  h_idx,
unsigned  numel,
const bool *  d_src,
bool  is_baseone = false 
)

Indexed minimum value of a boolean vector.

afError af_imin_vector_C ( cfloat h_dst,
int *  h_idx,
unsigned  numel,
const cfloat d_src,
bool  is_baseone = false 
)

Indexed minimum value of a single precision, complex vector.

afError af_imin_vector_D ( double *  h_dst,
int *  h_idx,
unsigned  numel,
const double *  d_src,
bool  is_baseone = false 
)

Indexed minimum value of a double precision vector.

afError af_imin_vector_Z ( cdouble h_dst,
int *  h_idx,
unsigned  numel,
const cdouble d_src,
bool  is_baseone = false 
)

Indexed minimum value of a double precision, complex vector.

afError af_min_S ( float *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

Minimum value along a dimension in single precision matrix.

afError af_min_B ( bool *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim 
)

Minimum value along a dimension in boolean matrix.

afError af_min_I ( int *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim 
)

Minimum value along a dimension in 32-bit signed integer matrix.

afError af_min_U ( unsigned *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim 
)

Minimum value along a dimension in 32-bit unsigned integer matrix.

afError af_min_C ( cfloat d_dst,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim 
)

Minimum value along a dimension in single precision, complex matrix.

afError af_min_D ( double *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

Minimum value along a dimension in double precision matrix.

afError af_min_Z ( cdouble d_dst,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim 
)

Minimum value along a dimension in double precision, complex matrix.

afError af_imin_S ( float *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in single precision matrix.

afError af_imin_I ( int *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in 32-bit signed integer matrix.

afError af_imin_U ( unsigned *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in 32-bit unsigned integer matrix.

afError af_imin_B ( bool *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in boolean matrix.

afError af_imin_C ( cfloat d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in single precision, cplx matrix.

afError af_imin_D ( double *  d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in double precision matrix.

afError af_imin_Z ( cdouble d_dst,
int *  d_idx,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim,
bool  is_baseone = false 
)

Indexed minimum value along a dimension in double precision, cplx matrix.

afError af_minmax_vector_S ( float2 *  h_dst,
unsigned  numel,
const float *  d_src 
)

Minimum and maximum value of a single precision vector.

afError af_minmax_vector_D ( double2 *  h_dst,
unsigned  numel,
const double *  d_src 
)

Minimum and maximum value of a single precision vector.

afError af_minmax_S ( float2 *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

Minimum and maximum value along a dimension in single precision matrix.

afError af_minmax_D ( double2 *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

Minimum and maximum value along a dimension in single precision matrix.

afError af_sum_vector_S ( float *  h_dst,
unsigned  numel,
const float *  d_src 
)

sum The value of a single precision vector

afError af_sum_vector_B ( float *  h_dst,
unsigned  numel,
const bool *  d_src 
)

sum The value of a boolean vector

afError af_sum_vector_I ( int *  h_dst,
unsigned  numel,
const int *  d_src 
)

sum The value of a 32-bit signed integer vector

afError af_sum_vector_U ( unsigned *  h_dst,
unsigned  numel,
const unsigned *  d_src 
)

sum The value of a 32-bit unsigned integer vector

afError af_sum_vector_C ( cfloat h_dst,
unsigned  numel,
const cfloat d_src 
)

sum The value of a single precision, complex vector

afError af_sum_vector_D ( double *  h_dst,
unsigned  numel,
const double *  d_src 
)

sum The value of a double precision vector

afError af_sum_vector_Z ( cdouble h_dst,
unsigned  numel,
const cdouble d_src 
)

sum The value of a double precision, complex vector

afError af_sum_S ( float *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

sum the value along a dimension in single precision matrix

afError af_sum_B ( float *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim 
)

sum the value along a dimension in boolean matrix

afError af_sum_I ( int *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim 
)

sum the value along a dimension in 32-bit signed integer matrix

afError af_sum_U ( unsigned *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim 
)

sum the value along a dimension in 32-bit unsigned integer matrix

afError af_sum_C ( cfloat d_dst,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim 
)

sum the value along a dimension in single precision, complex matrix

afError af_sum_D ( double *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

sum the value along a dimension in double precision matrix

afError af_sum_Z ( cdouble d_dst,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim 
)

sum the value along a dimension in double precision, complex matrix

afError af_mul_vector_S ( float *  h_dst,
unsigned  numel,
const float *  d_src 
)

multiplication of the values of a single precision vector

afError af_mul_vector_I ( int *  h_dst,
unsigned  numel,
const int *  d_src 
)

multiplication of the values of a 32-bit signed integer vector

afError af_mul_vector_U ( unsigned *  h_dst,
unsigned  numel,
const unsigned *  d_src 
)

multiplication of the values of a 32-bit unsigned integer vector

afError af_mul_vector_B ( float *  h_dst,
unsigned  numel,
const bool *  d_src 
)

multiplication of the values of a boolean vector

afError af_mul_vector_C ( cfloat h_dst,
unsigned  numel,
const cfloat d_src 
)

multiplication of the values of a single precision, complex vector

afError af_mul_vector_D ( double *  h_dst,
unsigned  numel,
const double *  d_src 
)

multiplication of the values of a double precision vector

afError af_mul_vector_Z ( cdouble h_dst,
unsigned  numel,
const cdouble d_src 
)

multiplication of the values of a double precision, complex vector

afError af_mul_S ( float *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const float *  d_src,
int  dim 
)

multiplication of the values along a dimension in single precision matrix

afError af_mul_I ( int *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const int *  d_src,
int  dim 
)

multiplication of the value along a dimension in 32-bit signed integer matrix

afError af_mul_U ( unsigned *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const unsigned *  d_src,
int  dim 
)

multiplication of the value along a dimension in 32-bit unsigned integer matrix

afError af_mul_B ( float *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const bool *  d_src,
int  dim 
)

multiplication of the value along a dimension in boolean matrix

afError af_mul_C ( cfloat d_dst,
unsigned  ndims,
const unsigned *  dims,
const cfloat d_src,
int  dim 
)

multiplication of the values along a dimension in single precision, complex matrix

afError af_mul_D ( double *  d_dst,
unsigned  ndims,
const unsigned *  dims,
const double *  d_src,
int  dim 
)

multiplication of the values along a dimension in double precision matrix

afError af_mul_Z ( cdouble d_dst,
unsigned  ndims,
const unsigned *  dims,
const cdouble d_src,
int  dim 
)

multiplication of the values along a dimension in double precision, complex matrix

afError af_nnz_vector_S ( unsigned *  count,
unsigned  numel,
const float *  mat 
)

Number of non zero elements in a single precision stream.

afError af_nnz_vector_B ( unsigned *  count,
unsigned  numel,
const bool *  mat 
)

Number of non zero elements in a boolean (unsigned char) stream.

afError af_nnz_vector_D ( unsigned *  count,
unsigned  numel,
const double *  mat 
)

Number of non zero elements in a double precision stream.

afError af_nnz_S ( unsigned *  count,
unsigned  numel,
const float *  mat,
unsigned  batch 
)

Number of non zero elements in a single precision stream.

afError af_nnz_B ( unsigned *  count,
unsigned  numel,
const bool *  mat,
unsigned  batch 
)

Number of non zero elements in a boolean (unsigned char) stream.

afError af_nnz_D ( unsigned *  count,
unsigned  numel,
const double *  mat,
unsigned  batch 
)

Number of non zero elements in a double precision stream.