Second order numerical difference along specified dimension. More...
Functions | |
AFAPI array | diff2 (const array &in, const int dim=0) |
C++ Interface for calculating second order differences in an array. | |
AFAPI af_err | af_diff2 (af_array *out, const af_array in, const int dim) |
C Interface for calculating second order differences in an array. | |
Second order numerical difference along specified dimension.
This function performs the operation across all batches present in the input simultaneously.
C Interface for calculating second order differences in an array.
[out] | out | will contain the second order numerical differences of in |
[in] | in | is the input array |
[in] | dim | The dimension along which numerical difference is performed |