Showing content from https://arrayfire.org/docs/group__manip__func__shift.htm below:
ArrayFire: shift
Shift an array. More...
Shift an array.
Circular shift array values along a specified dimesion.
◆ af_shift()
C Interface to shift an array.
-
Parameters
-
[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
-
Returns
-
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ shift() 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.
-
Parameters
-
[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
-
Returns
-
shifted array
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4