Documentation
|
|
Calculate the norm of a vector. More...
| afError | af_norm_vector_S (float *h_dst, unsigned numel, const float *d_src) |
| afError | af_norm_vector_D (double *h_dst, unsigned numel, const double *d_src) |
| norm The value of a double precision vector More... | |
| afError | af_norm_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) |
| norm the value along a dimension in single precision matrix More... | |
| afError | af_norm_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) |
| norm the value along a dimension in double precision matrix More... | |
Calculate the norm of a vector.
Detailed description of norm TODO:
| afError af_norm_vector_S | ( | float * | h_dst, |
| unsigned | numel, | ||
| const float * | d_src | ||
| ) |
| [out] | h_dst | Norm of the vector |
| [in] | numel | Number of elements in vector |
| [in] | d_src | Input vectornorm The value of a single precision vector |
| afError af_norm_vector_D | ( | double * | h_dst, |
| unsigned | numel, | ||
| const double * | d_src | ||
| ) |
norm The value of a double precision vector
| afError af_norm_S | ( | float * | d_dst, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| const float * | d_src, | ||
| int | dim | ||
| ) |
norm the value along a dimension in single precision matrix
| afError af_norm_D | ( | double * | d_dst, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| const double * | d_src, | ||
| int | dim | ||
| ) |
norm the value along a dimension in double precision matrix