Skip to main content

fft2d_split

Function fft2d_split 

Source
pub fn fft2d_split<T: Float>(
    in_real: &[T],
    in_imag: &[T],
    n0: usize,
    n1: usize,
) -> (Vec<T>, Vec<T>)
Expand description

Convenience function for 2D split-complex forward FFT.

§Panics

Panics if in_real/in_imag don’t have length n0 * n1, or if the internal plan constructor rejects n0/n1. This function always plans with Flags::ESTIMATE, which does not reject any size (including 0) in the current implementation, so the latter should not happen.