void gsl_complex_inverse (complex_t const *a, complex_t *res) { /* z=1/a */ gnm_float s = 1.0 / complex_mod (a); complex_init (res, (GSL_REAL (a) * s) * s, -(GSL_IMAG (a) * s) * s); }
static inline void get_fft_buffer_out(float *buffer) { int i; for (i = 0; i < CAPTURE_SIZE; i++) { buffer[i] = complex_mod(buffer_out[i]); } }