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

Function fft_c2r

src/api/c/fft_common.hpp:68–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67template<typename inType, typename outType>
68detail::Array<outType> fft_c2r(const detail::Array<inType> input,
69 const double norm_factor, const af::dim4 &odims,
70 const int rank) {
71 using detail::Array;
72 using detail::fft_c2r;
73 using detail::multiply_inplace;
74
75 Array<outType> output = fft_c2r<outType, inType>(input, odims, rank);
76
77 if (norm_factor != 1) {
78 // Normalize input because tmp was not normalized
79 multiply_inplace(output, norm_factor);
80 }
81
82 return output;
83}

Callers

nothing calls this directly

Calls 1

multiply_inplaceFunction · 0.50

Tested by

no test coverage detected