MCPcopy 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
45constexpr bool isComplex(af::dtype type) {
46 return ((type == c32) || (type == c64));
47}
48
49constexpr bool isReal(af::dtype type) { return !isComplex(type); }
50

Callers 4

qrFunction · 0.85
leastSquaresFunction · 0.85
isRealFunction · 0.85
isComplexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected