Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
inline int idx_x(int i) {
26
if (i < 12) return idx_y(i + 4);
27
28
return idx_y(i - 12);
29
}
30
31
inline int idx(int y, int x, unsigned idim0) { return x * idim0 + y; }
32
Callers
1
locate_features
Function · 0.70
Calls
1
idx_y
Function · 0.70
Tested by
no test coverage detected