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

Function idft

src/api/cpp/fft.cpp:118–132  ·  view source on GitHub ↗

NOLINTNEXTLINE(performance-unnecessary-value-param)

Source from the content-addressed store, hash-verified

116
117// NOLINTNEXTLINE(performance-unnecessary-value-param)
118array idft(const array& in, const double norm_factor, const dim4 outDims) {
119 array temp;
120 switch (in.dims().ndims()) {
121 case 1: temp = ifftNorm(in, norm_factor, outDims[0]); break;
122 case 2:
123 temp = ifft2Norm(in, norm_factor, outDims[0], outDims[1]);
124 break;
125 case 3:
126 temp =
127 ifft3Norm(in, norm_factor, outDims[0], outDims[1], outDims[2]);
128 break;
129 default: AF_THROW(AF_ERR_NOT_SUPPORTED);
130 }
131 return temp;
132}
133
134// NOLINTNEXTLINE(performance-unnecessary-value-param)
135array idft(const array& in, const dim4 outDims) {

Callers 1

fft.cppFile · 0.85

Calls 6

ifftNormFunction · 0.85
ifft2NormFunction · 0.85
ifft3NormFunction · 0.85
dim4Class · 0.50
ndimsMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected