[][src]Function microfft::real::rfft_2

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

Perform an in-place 2-point RFFT.

Example

use microfft::real::rfft_2;

let mut input = [0.; 2];
let result = rfft_2(&mut input);

Panics

Panics if input has a length other than 2.