Shift an array. More...
Functions | |
AFAPI array | shift (const array &in, const int x, const int y=0, const int z=0, const int w=0) |
C++ Interface to shift an array. More... | |
AFAPI af_err | af_shift (af_array *out, const af_array in, const int x, const int y, const int z, const int w) |
C Interface to shift an array. More... | |
Shift an array.
Circular shift array values along a specified dimesion.
AFAPI af_err af_shift | ( | af_array * | out, |
const af_array | in, | ||
const int | x, | ||
const int | y, | ||
const int | z, | ||
const int | w | ||
) |
C Interface to shift an array.
[out] | out | shifted array |
[in] | in | input array |
[in] | x | specifies the shift along first dimension |
[in] | y | specifies the shift along second dimension |
[in] | z | specifies the shift along third dimension |
[in] | w | specifies the shift along fourth dimension |
AFAPI array shift | ( | const array & | in, |
const int | x, | ||
const int | y = 0 , |
||
const int | z = 0 , |
||
const int | w = 0 |
||
) |
C++ Interface to shift an array.
[in] | in | input array |
[in] | x | specifies the shift along the first dimension |
[in] | y | specifies the shift along the second dimension |
[in] | z | specifies the shift along the third dimension |
[in] | w | specifies the shift along the fourth dimension |