MCPcopy 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
49constexpr bool isReal(af::dtype type) { return !isComplex(type); }
50
51constexpr bool isDouble(af::dtype type) { return (type == f64 || type == c64); }
52

Callers 1

isRealMethod · 0.85

Calls 1

isComplexFunction · 0.85

Tested by

no test coverage detected