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