Home | History | Annotate | Download | only in test

Lines Matching refs:nfft

81 void test_scalar_generic(int nfft)
89 ScalarVector tbuf(nfft);
91 for (int k=0;k<nfft;++k)
98 VERIFY((size_t)freqBuf.size() == (size_t)( (nfft>>1)+1) );
103 VERIFY( (size_t)freqBuf.size() == (size_t)nfft);
106 if (nfft&1)
120 for (int k=0;k<nfft;++k)
121 tbuf3[k] *= T(1./nfft);
136 void test_scalar(int nfft)
138 test_scalar_generic<StdVectorContainer,T>(nfft);
139 //test_scalar_generic<EigenVectorContainer,T>(nfft);
144 void test_complex_generic(int nfft)
151 ComplexVector inbuf(nfft);
154 for (int k=0;k<nfft;++k)
167 for (int k=0;k<nfft;++k)
168 buf4[k] *= T(1./nfft);
178 void test_complex(int nfft)
180 test_complex_generic<StdVectorContainer,T>(nfft);
181 test_complex_generic<EigenVectorContainer,T>(nfft);