Skip to main content

rfft

Function rfft 

Source
pub fn rfft<B: Backend, R: RealFloat>(
    x: &Array<B, R>,
    fft_lengths: &[usize],
) -> Array<B, R::Complex>
Expand description

The real-to-complex Fourier transform of the trailing axes (lax.fft with FftType::Rfft): the last axis has n / 2 + 1 coefficients.