this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix indentation and remove not needed semicolons

orgua c225efda daca3f4c

+14 -14
+14 -14
kissfft.hh
··· 41 41 _stageRadix.push_back(p); 42 42 _stageRemainder.push_back(n); 43 43 }while(n>1); 44 - }; 44 + } 45 45 46 46 47 47 /// Changes the FFT-length and/or the transform direction. ··· 65 65 it != _twiddles.end(); ++it ) 66 66 it->imag( -it->imag() ); 67 67 } 68 - }; 68 + } 69 69 70 70 /// Calculates the complex Discrete Fourier Transform. 71 71 /// ··· 112 112 case 5: kf_bfly5(fft_out,fstride,m); break; 113 113 default: kf_bfly_generic(fft_out,fstride,m,p); break; 114 114 } 115 - }; 115 + } 116 116 117 117 /// Calculates the Discrete Fourier Transform (DFT) of a real input 118 118 /// of size @c 2*N. ··· 178 178 } 179 179 if ( N % 2 == 0 ) 180 180 dst[N/2] = conj( dst[N/2] ); 181 - }; 181 + } 182 182 183 183 private: 184 184 ··· 189 189 Fout[m+k] = Fout[k] - t; 190 190 Fout[k] += t; 191 191 } 192 - }; 192 + } 193 193 194 194 void kf_bfly3( cpx_t * Fout, const std::size_t fstride, const std::size_t m) const 195 195 { ··· 220 220 Fout[m] += cpx_t( -scratch[0].imag(),scratch[0].real() ); 221 221 ++Fout; 222 222 }while(--k); 223 - }; 223 + } 224 224 225 225 void kf_bfly4( cpx_t * Fout, const std::size_t fstride, const std::size_t m) const 226 226 { ··· 243 243 Fout[k+ m] = scratch[5] + scratch[4]; 244 244 Fout[k+3*m] = scratch[5] - scratch[4]; 245 245 } 246 - }; 246 + } 247 247 248 248 void kf_bfly5( cpx_t * Fout, const std::size_t fstride, const std::size_t m) const 249 249 { ··· 307 307 ++Fout3; 308 308 ++Fout4; 309 309 } 310 - }; 310 + } 311 311 312 312 /* perform the butterfly for one stage of a mixed radix FFT */ 313 313 void kf_bfly_generic( ··· 340 340 k += m; 341 341 } 342 342 } 343 - }; 343 + } 344 344 345 - std::size_t _nfft; 346 - bool _inverse; 347 - std::vector<cpx_t> _twiddles; 348 - std::vector<std::size_t> _stageRadix; 349 - std::vector<std::size_t> _stageRemainder; 345 + std::size_t _nfft; 346 + bool _inverse; 347 + std::vector<cpx_t> _twiddles; 348 + std::vector<std::size_t> _stageRadix; 349 + std::vector<std::size_t> _stageRemainder; 350 350 }; 351 351 #endif