Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
16
using std::complex;
17
18
float real(af_cfloat val) { return val.real; }
19
double real(af_cdouble val) { return val.real; }
20
21
float imag(af_cfloat val) { return val.imag; }
Callers
10
constant
Function · 0.70
af_mean_all
Function · 0.50
af_mean_all_weighted
Function · 0.50
af_var_all_v2
Function · 0.50
af_var_all_weighted
Function · 0.50
reduce_all_common
Function · 0.50
reduce_all_promote
Function · 0.50
ireduce_all_common
Function · 0.50
af_dot_all
Function · 0.50
af_det
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected