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

Function real

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

Source from the content-addressed store, hash-verified

16using std::complex;
17
18float real(af_cfloat val) { return val.real; }
19double real(af_cdouble val) { return val.real; }
20
21float imag(af_cfloat val) { return val.imag; }

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