Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ gfor
Function
gfor
test/transpose.cpp:258–258 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
256
array B = constant(0, 100, 100, 3);
257
258
gfor(seq ii, 3) { B(span, span, ii) = A(span, span, ii).T(); }
259
260
for (int ii = 0; ii < 3; ii++) {
261
array c_ii = A(span, span, ii).T();
Callers
nothing calls this directly
Calls
1
T
Method · 0.80
Tested by
no test coverage detected