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

Function abs

src/backend/oneapi/math.hpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template<typename T>
36static inline T abs(T val) {
37 return std::abs(val);
38}
39template<typename T>
40static inline T min(T lhs, T rhs) {
41 return std::min(lhs, rhs);

Callers 13

diagCreateFunction · 0.70
diagExtractFunction · 0.70
max<cfloat>Function · 0.70
max<cdouble>Function · 0.70
min<cfloat>Function · 0.70
min<cdouble>Function · 0.70
cabs<cfloat>Function · 0.70
cabs<cdouble>Function · 0.70
trimIndexMethod · 0.50
operator()Method · 0.50
trimIndexMethod · 0.50
trimIndexFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected