MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / imag

Function imag

src/api/cpp/complex.cpp:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19double real(af_cdouble val) { return val.real; }
20
21float imag(af_cfloat val) { return val.imag; }
22double imag(af_cdouble val) { return val.imag; }
23
24cfloat operator+(const cfloat &lhs, const cfloat &rhs) {

Callers 10

constantFunction · 0.70
af_mean_allFunction · 0.50
af_mean_all_weightedFunction · 0.50
af_var_all_v2Function · 0.50
af_var_all_weightedFunction · 0.50
reduce_all_commonFunction · 0.50
reduce_all_promoteFunction · 0.50
ireduce_all_commonFunction · 0.50
af_dot_allFunction · 0.50
af_detFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected