Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ abs
Function
abs
src/api/cpp/complex.cpp:113–116 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
}
112
113
float abs(const cfloat &val) {
114
std::complex<float> out(val.real, val.imag);
115
return abs(out);
116
}
117
118
double abs(const cdouble &val) {
119
std::complex<double> out(val.real, val.imag);
Callers
2
sobel
Function · 0.70
convRange
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected