MCPcopy 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

39template<typename T, bool IsDilation>
40struct MorphFilterOp {
41 T operator()(const T& a, const T& b) {
42 return IsDilation ? std::max(a, b) : std::min(a, b);
43 }
44};
45
46template<typename T, bool IsDilation>

Callers

nothing calls this directly

Calls 2

maxFunction · 0.50
minFunction · 0.50

Tested by

no test coverage detected