Searched refs:imag_part (Results 1 – 1 of 1) sorted by relevance
105 double real_part, imag_part ; in dft_magnitude() local118 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()