Home
last modified time | relevance | path

Searched refs:imag_part (Results 1 – 1 of 1) sorted by relevance

/third_party/libsnd/tests/
Ddft_cmp.c105 double real_part, imag_part ; in dft_magnitude() local
118 imag_part = 0.0 ; in dft_magnitude()
122 imag_part += data [n] * sin_angle [(k * n) % DFT_DATA_LENGTH] ; in dft_magnitude()
125 spectrum [k] = sqrt (real_part * real_part + imag_part * imag_part) ; in dft_magnitude()