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

Function fft

src/api/c/fft.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template<typename InType>
35af_array fft(const af_array in, const double norm_factor, const dim_t npad,
36 const dim_t *const pad, int rank, bool direction) {
37 using OutType = typename conditional<is_same<InType, double>::value ||
38 is_same<InType, cdouble>::value,
39 cdouble, cfloat>::type;
40 return getHandle(fft<InType, OutType>(getArray<InType>(in), norm_factor,
41 npad, pad, rank, direction));
42}
43
44af_err fft(af_array *out, const af_array in, const double norm_factor,
45 const dim_t npad, const dim_t *const pad, const int rank,

Callers 6

af_fftFunction · 0.70
af_fft2Function · 0.70
af_fft3Function · 0.70
af_ifftFunction · 0.70
af_ifft2Function · 0.70
af_ifft3Function · 0.70

Calls 6

swapFunction · 0.85
getHandleFunction · 0.70
af_retain_arrayFunction · 0.70
getTypeMethod · 0.45
dimsMethod · 0.45
ndimsMethod · 0.45

Tested by

no test coverage detected