Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ operator()
Method
operator()
src/backend/cpu/kernel/morph.hpp:41–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
template<typename T, bool IsDilation>
40
struct MorphFilterOp {
41
T operator()(const T& a, const T& b) {
42
return IsDilation ? std::max(a, b) : std::min(a, b);
43
}
44
};
45
46
template<typename T, bool IsDilation>
Callers
nothing calls this directly
Calls
2
max
Function · 0.50
min
Function · 0.50
Tested by
no test coverage detected