Lines Matching refs:nfft
78 void test_scalar_generic(int nfft)
86 ScalarVector tbuf(nfft);
88 for (int k=0;k<nfft;++k)
95 VERIFY((size_t)freqBuf.size() == (size_t)( (nfft>>1)+1) );
100 VERIFY( (size_t)freqBuf.size() == (size_t)nfft);
103 if (nfft&1)
117 for (int k=0;k<nfft;++k)
118 tbuf3[k] *= T(1./nfft);
133 void test_scalar(int nfft)
135 test_scalar_generic<StdVectorContainer,T>(nfft);
136 //test_scalar_generic<EigenVectorContainer,T>(nfft);
141 void test_complex_generic(int nfft)
148 ComplexVector inbuf(nfft);
151 for (int k=0;k<nfft;++k)
164 for (int k=0;k<nfft;++k)
165 buf4[k] *= T(1./nfft);
175 void test_complex(int nfft)
177 test_complex_generic<StdVectorContainer,T>(nfft);
178 test_complex_generic<EigenVectorContainer,T>(nfft);