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

Function max

src/backend/cpu/math.cpp:36–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36cfloat max(cfloat lhs, cfloat rhs) { return abs(lhs) > abs(rhs) ? lhs : rhs; }
37
38cdouble max(cdouble lhs, cdouble rhs) {
39 return abs(lhs) > abs(rhs) ? lhs : rhs;

Callers 15

updateIterationsFunction · 0.70
findBestHomographyFunction · 0.70
setIntersectFunction · 0.70
qrFunction · 0.70
solveFunction · 0.70
BinaryNodeMethod · 0.50
non_maximalFunction · 0.50
bilateralFunction · 0.50
operator()Method · 0.50
morph3dFunction · 0.50
rgb2hsvFunction · 0.50
locate_featuresFunction · 0.50

Calls 1

absFunction · 0.70

Tested by

no test coverage detected