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

Function scan

src/api/cpp/scan.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21array scan(const array& in, const int dim, binaryOp op, bool inclusive_scan) {
22 af_array out = 0;
23 AF_THROW(af_scan(&out, in.get(), dim, op, inclusive_scan));
24 return array(out);
25}
26
27array scanByKey(const array& key, const array& in, const int dim, binaryOp op,
28 bool inclusive_scan) {

Callers

nothing calls this directly

Calls 3

af_scanFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected