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

Function real

test/testHelpers.hpp:197–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196template<typename T>
197inline double real(T val) {
198 return (double)val;
199}
200template<>
201inline double real<af::cdouble>(af::cdouble val) {
202 return real(val);

Callers 15

TESTFunction · 0.70
approx1CubicTestFunction · 0.70
stdevDimTestFunction · 0.70
stdevDimIndexTestFunction · 0.70
stdevAllTestFunction · 0.70
choleskyTesterFunction · 0.70
cdouble>Method · 0.70
cfloat>Method · 0.70
BINARY_TESTS_NEARFunction · 0.70
ConstantCCheckFunction · 0.70
qrTesterFunction · 0.70
makeSparse<cfloat>Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected