[][src]Function shallow_water::stafft::revfft

pub fn revfft(
    m: usize,
    n: usize,
    xs: ArrayViewMut2<'_, f64>,
    trig: &[f64],
    factors: &[usize; 5]
)

Main spectral to physical (reverse) FFT routine. Performs m reverse transforms of length n in the array x which is dimensioned x(m,n). The arrays trig and factors are filled by the init routine and should be kept from call to call. Backend consists of mixed-radix routines, with 'decimation in frequency'. Reverse transform starts in Hermitian form.