MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / idx_x

Function idx_x

src/backend/cpu/kernel/fast.hpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25inline int idx_x(int i) {
26 if (i < 12) return idx_y(i + 4);
27
28 return idx_y(i - 12);
29}
30
31inline int idx(int y, int x, unsigned idim0) { return x * idim0 + y; }
32

Callers 1

locate_featuresFunction · 0.70

Calls 1

idx_yFunction · 0.70

Tested by

no test coverage detected