| 257 | } |
| 258 | |
| 259 | array reorder(const array &in, const unsigned x, const unsigned y, |
| 260 | const unsigned z, const unsigned w) { |
| 261 | af_array out = 0; |
| 262 | AF_THROW(af_reorder(&out, in.get(), x, y, z, w)); |
| 263 | return array(out); |
| 264 | } |
| 265 | |
| 266 | array shift(const array &in, const int x, const int y, const int z, |
| 267 | const int w) { |