Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ abs
Function
abs
src/backend/opencl/math.hpp:36–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
35
template<typename T>
36
static inline T abs(T val) {
37
return std::abs(val);
38
}
39
template<typename T>
40
static inline T min(T lhs, T rhs) {
41
return std::min(lhs, rhs);
Callers
9
calc_scale
Function · 0.70
svd
Function · 0.70
diagCreate
Function · 0.70
diagExtract
Function · 0.70
max<cfloat>
Function · 0.70
max<cdouble>
Function · 0.70
min<cfloat>
Function · 0.70
min<cdouble>
Function · 0.70
cabs
Function · 0.50
Calls
1
sqrt
Function · 0.85
Tested by
no test coverage detected