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

Function imag

test/testHelpers.hpp:210–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209template<typename T>
210inline double imag(T val) {
211 return (double)val;
212}
213template<>
214inline double imag<af::cdouble>(af::cdouble val) {
215 return imag(val);

Callers 15

TESTFunction · 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
qrTesterFunction · 0.70
sparseTesterFunction · 0.70
sparseTransposeTesterFunction · 0.70
TYPED_TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected