[][src]Function microfft::complex::cfft_2

pub fn cfft_2(input: &mut [Complex32]) -> &mut [Complex32]

Perform an in-place 2-point CFFT.

Example

use microfft::{Complex32, complex::cfft_2};

let mut input = [Complex32::default(); 2];
let result = cfft_2(&mut input);

Panics

Panics if input has a length other than 2.