[][src]Function shallow_water::stafft::initfft

pub fn initfft(n: usize, factors: &mut [usize; 5], trig: &mut [f64])

Subroutine performs initialisation work for all the transforms. It calls routines to factorise the array length n and then sets up a trig array full of sin/cos values used in the transform backend.