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

Function idx

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

Source from the content-addressed store, hash-verified

29}
30
31inline int idx(int y, int x, unsigned idim0) { return x * idim0 + y; }
32
33// test_greater()
34// Tests if a pixel x > p + thr

Callers 4

test_pixelFunction · 0.70
locate_featuresFunction · 0.70
TESTFunction · 0.50
baggingFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_pixelFunction · 0.56