MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / operator()

Method operator()

src/backend/cpu/kernel/ireduce.hpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void operator()(T val, uint idx) {
39 if ((cabs(val) < cabs(m_val) ||
40 (cabs(val) == cabs(m_val) && idx > m_idx))) {
41 m_val = val;
42 m_idx = idx;
43 }
44 }
45};
46
47template<typename T>

Callers

nothing calls this directly

Calls 1

cabsFunction · 0.70

Tested by

no test coverage detected