Difference function, can be approximated to a derivative. More...
Device pointer interface: Difference along a dimension | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
afError | af_diff_S (float *d_out, unsigned ndims_in, const unsigned *dims_in, const float *d_in, int order, int dim) | ||||||||||||||||||||||||
Single precision, difference function. | |||||||||||||||||||||||||
afError | af_diff_D (double *d_out, unsigned ndims_in, const unsigned *dims_in, const double *d_in, int order, int dim) | ||||||||||||||||||||||||
Double precision difference function. |
Difference function, can be approximated to a derivative.
afError af_diff_S | ( | float * | d_out, |
unsigned | ndims_in, | ||
const unsigned * | dims_in, | ||
const float * | d_in, | ||
int | order, | ||
int | dim | ||
) |
Single precision, difference function.
afError af_diff_D | ( | double * | d_out, |
unsigned | ndims_in, | ||
const unsigned * | dims_in, | ||
const double * | d_in, | ||
int | order, | ||
int | dim | ||
) |
Double precision difference function.