Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ operator()
Method
operator()
src/backend/oneapi/minmax_op.hpp:46–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void operator()(T val, uint idx) {
47
if ((cabs(val) < cabs(m_val) ||
48
(cabs(val) == cabs(m_val) && idx > m_idx))) {
49
m_val = val;
50
m_idx = idx;
51
}
52
}
53
};
54
55
template<typename T>
Callers
nothing calls this directly
Calls
1
cabs
Function · 0.70
Tested by
no test coverage detected