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

Function fft

test/fft_real.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42template<int rank>
43array fft(const array &in, double norm) {
44 switch (rank) {
45 case 1: return fftNorm(in, norm);
46 case 2: return fft2Norm(in, norm);
47 case 3: return fft3Norm(in, norm);
48 default: return in;
49 }
50}
51
52#define MY_ASSERT_NEAR(aa, bb, cc) ASSERT_NEAR(abs(aa), abs(bb), (cc))
53

Callers 5

TESTFunction · 0.70
fft.cppFile · 0.70
fftconvolveTestLargeFunction · 0.70
deathTestFunction · 0.70
mainFunction · 0.50

Calls 3

fftNormFunction · 0.85
fft2NormFunction · 0.85
fft3NormFunction · 0.85

Tested by 1

deathTestFunction · 0.56