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