Some implementation of fft arrfunc