Documentation
|
|
the C interface for max More...
All Elements | ||||||||||
| ||||||||||
| 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... | ||||||||||
Along a Dimension | |||||||||||||
| |||||||||||||
| 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... | |||||||||||||
the C interface for max
Returns the maximum value of an array, or if specified, the maximum value of each dimension of the array. Max can also return the indices (0-based) where these elements are located.
Return the maximum regardless of dimension:
Return maximum and indices along a given dimension
| 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.
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.
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.