Circular shift slong specified dimensions.
More...
Circular shift slong specified dimensions.
Shifts the values in a circular fashion along the specified dimesion.
§ af_shift()
- Parameters
-
| [in] | out | is the shifted array |
| [in] | in | is the 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 |
§ shift()
| AFAPI array af::shift |
( |
const array & |
in, |
|
|
const int |
x, |
|
|
const int |
y = 0, |
|
|
const int |
z = 0, |
|
|
const int |
w = 0 |
|
) |
| |
- Parameters
-
| [in] | in | is the 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
- the shifted output