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

Function min

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

Source from the content-addressed store, hash-verified

28}
29
30cfloat min(cfloat lhs, cfloat rhs) { return abs(lhs) < abs(rhs) ? lhs : rhs; }
31
32cdouble min(cdouble lhs, cdouble rhs) {
33 return abs(lhs) < abs(rhs) ? lhs : rhs;

Callers 15

updateIterationsFunction · 0.70
homographyFunction · 0.70
svdInPlaceFunction · 0.70
diagExtractFunction · 0.70
harrisFunction · 0.70
topkFunction · 0.70
orbFunction · 0.70
luFunction · 0.70
lu_inplaceFunction · 0.70
susanFunction · 0.70
qrFunction · 0.70
qr_inplaceFunction · 0.70

Calls 1

absFunction · 0.70

Tested by

no test coverage detected