[][src]Function fixed_fft::fft_radix2_real_q15

pub fn fft_radix2_real_q15(
    input: &mut [i16],
    output: &mut [Complex<i16>],
    scale: bool
) -> Result<(), FFTError>

Real value FFT using a complex valued FFT

The input data will be used as a buffer for an in-place CFFT and will thus be modified by this function. The output slice will hold the result without redundant data. The length of the slices must be as follows: output.len() >= input.len() / 2 + 1 The data will be scaled by 1/input.len() if scale == true.