Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ isComplex
Function
isComplex
src/backend/common/traits.hpp:45–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
constexpr bool isComplex(af::dtype type) {
46
return ((type == c32) || (type == c64));
47
}
48
49
constexpr bool isReal(af::dtype type) { return !isComplex(type); }
50
Callers
4
qr
Function · 0.85
leastSquares
Function · 0.85
isReal
Function · 0.85
isComplex
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected