MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / fftR2C<3>

Function fftR2C<3>

src/api/cpp/fft.cpp:191–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190template<>
191AFAPI array fftR2C<3>(const array& in, const dim4& dims,
192 const double norm_factor) {
193 af_array res;
194 AF_THROW(af_fft3_r2c(&res, in.get(), norm_factor == 0 ? 1.0 : norm_factor,
195 dims[0], dims[1], dims[2]));
196 return array(res);
197}
198
199inline dim_t getOrigDim(dim_t d, bool is_odd) {
200 return 2 * (d - 1) + (is_odd ? 1 : 0);

Callers

nothing calls this directly

Calls 3

af_fft3_r2cFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected